Gets/sets the number of pixels that the expansion indicators in the band's groupby rows will be offset. The default value is -1, which means that the grid will determine the offset.
This snippet demonstrates the IndentationGroupByRow and IndentationGroupByRowExpansionIndicator properties on the UltraGridBand class.
Private Sub Form1_Load(sender As Object, e As System.EventArgs)
' Make all of the GroupBy rows in the first band flush against the left edge of the grid.
'
Me.ultraGrid1.DisplayLayout.Bands(0).IndentationGroupByRow = 0
' Since the IndentationGroupByRow property is set to zero, there needs to be a way to
' depict the nested relationships between the GroupBy rows. Setting this property will
' cause the expansion indicator offsets to accumulate as the nesting depth-level increases,
' which will produce the desired result. Note, this "accumulation" of expansion indicator
' offsets only occurs when the IndentationGroupByRow is set to 0. Normally the expansion
' indicator offset does not accumulate but remains a fixed value across all GroupBy rows.
'
Me.ultraGrid1.DisplayLayout.Bands(0).IndentationGroupByRowExpansionIndicator = 26
End Sub
'Declaration
Public Property IndentationGroupByRowExpansionIndicator As Integer
private void Form1_Load(object sender, System.EventArgs e)
{
// Make all of the GroupBy rows in the first band flush against the left edge of the grid.
//
this.ultraGrid1.DisplayLayout.Bands[0].IndentationGroupByRow = 0;
// Since the IndentationGroupByRow property is set to zero, there needs to be a way to
// depict the nested relationships between the GroupBy rows. Setting this property will
// cause the expansion indicator offsets to accumulate as the nesting depth-level increases,
// which will produce the desired result. Note, this "accumulation" of expansion indicator
// offsets only occurs when the IndentationGroupByRow is set to 0. Normally the expansion
// indicator offset does not accumulate but remains a fixed value across all GroupBy rows.
//
this.ultraGrid1.DisplayLayout.Bands[0].IndentationGroupByRowExpansionIndicator = 26;
}
'Declaration
Public Property IndentationGroupByRowExpansionIndicator As Integer
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