Version

GetLayoutGroupRect Method

Returns a rectangle bounding a group and all of it's contents when RowLayoutStyle is GroupLayout.
Syntax
'Declaration
 
Public Shared Function GetLayoutGroupRect( _
   ByVal group As UltraGridGroup, _
   ByVal containingElement As Infragistics.Win.UIElement _
) As Rectangle
public static Rectangle GetLayoutGroupRect( 
   UltraGridGroup group,
   Infragistics.Win.UIElement containingElement
)

Parameters

group
The group whose bounding rectangle is to be returned.
containingElement
A UIElement containing the elements of the group. This must be one of the following types element: BandHeadersUIElement, CardLabelAreaUIElement, or RowUIElement

Return Value

A rectangle bounding a group and all of it's contents when RowLayoutStyle is GroupLayout.
Remarks

The returned rect includes all elements of the group such as the group header, column headers, cells, and any child groups and their contents.

This method is only valid when the RowLayoutStyle property is set to GroupLayout.

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