Version

GetExclusionScreenRect Method

Static method that returns the rect of the exclusion area in screen coordinates.
Syntax
'Declaration
 
Public Shared Function GetExclusionScreenRect( _
   ByVal owner As Control _
) As Rectangle
public static Rectangle GetExclusionScreenRect( 
   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 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