Version

GetLayoutItemElementsFromPoint Method

Gets an an array of UIElements that represent a LayoutItem within the ContainingElement. This is for the purposes for determining the drop location.
Syntax
'Declaration
 
Function GetLayoutItemElementsFromPoint( _
   ByVal point As Point _
) As UIElement()
UIElement[] GetLayoutItemElementsFromPoint( 
   Point point
)

Parameters

point
The System.Drawing.Point to use.

Return Value

This method returns multiple elements and uses them to determine a drop rect. There may be multiple elements because when the headers and cells are together, both are treated as one.
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