Version

GetOriginalRequestedScreenRect Method

Static method that returns the original requested rect of the dropdown in screen coordinates. This rect can differ from the dropdown rect if the window had to be repositioned by the manager due to screen size limitations.
Syntax
'Declaration
 
Public Shared Function GetOriginalRequestedScreenRect( _
   ByVal owner As Control _
) As Rectangle
public static Rectangle GetOriginalRequestedScreenRect( 
   Control owner
)

Parameters

owner
Used to compare to the owner that was passed into the DropDown method. If it is the same or null it will the dropdown state,. Otherwise it will return false.

Return Value

The original requested rect of the dropdown in screen coordinates, or an empty rect if a dropdown with the specified owner was not found.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also