Version

GetLayoutContainerRect Method

Returns the valid rect of the container element.
Syntax
'Declaration
 
Function GetLayoutContainerRect( _
   ByVal layoutContainterElement As UIElement _
) As Rectangle
Rectangle GetLayoutContainerRect( 
   UIElement layoutContainterElement
)

Parameters

layoutContainterElement
The Infragistics.Win.UIElement whose rect should be determined.

Return Value

A System.Drawing.Rectangle indicating the valid rect of the container element.
Remarks
This is needed because the rect in which the Layout items are positioned isn't neccessarily the same as the rect of the UIElement. In the grid, for example, this rect should not include the area within the row taken up by the Row Selectors when they are present.
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