バージョン

IndentationGroupByRowExpansionIndicator プロパティ

バンドのグループ行の展開インジケーターをオフセットするピクセル数を取得または設定します。デフォルト値は-1で、オフセットがグリッドによって決定されることを意味します。
シンタックス
'宣言
 
Public Property IndentationGroupByRowExpansionIndicator As Integer
public int IndentationGroupByRowExpansionIndicator {get; set;}
解説
IndentationGroupByRowExpansionIndicator プロパティを使用すると、バンドのグループ行の展開インジケーターのインデント量を指定できます。このプロパティのデフォルト値は-1で、グリッドのデフォルトのインデント量が使用されることを示します。

注:IndentationGroupByRow プロパティを 0 に設定すると、バンド内のすべての GroupBy 行の左端が同じ X 座標になります。この場合は各グループ行の展開インジケーターの位置が自動的に決定され、展開インジケーターの相対的な位置によって各グループの関係が視覚的に表されます。この場合、グループ行展開インジケーターのインデントは、グループ行の深さレベルと、そのグループ行が属するバンドの IndentationGroupByRowExpansionIndicator 値との相関によって決まります。

使用例
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
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;
}
参照