バージョン

GroupByRowInitialExpansionState プロパティ

列によってバンドの行をグループ化したときにグループ行を縮小状態と展開状態のどちらにするかを決定する値を取得または設定します。
シンタックス
'宣言
 
Public Property GroupByRowInitialExpansionState As GroupByRowInitialExpansionState
public GroupByRowInitialExpansionState GroupByRowInitialExpansionState {get; set;}
使用例
Imports Infragistics.Win.UltraWinGrid

Sub Form1_Load(sender As Object, e As System.EventArgs)
   ' Prevent expansion indicators from appearing in the GroupBy rows.  The end-user can 
   ' still expand the GroupBy rows via double-clicking or the keyboard.
   '
   Me.ultraGrid1.DisplayLayout.Override.GroupByRowExpansionStyle = GroupByRowExpansionStyle.DoubleClick
   
   ' Make it so that the GroupBy rows will automatically be expanded when a column is grouped.
   '
   Me.ultraGrid1.DisplayLayout.Override.GroupByRowInitialExpansionState = GroupByRowInitialExpansionState.Expanded
End Sub
using Infragistics.Win.UltraWinGrid;

private void Form1_Load(object sender, System.EventArgs e)
{	
	// Prevent expansion indicators from appearing in the GroupBy rows.  The end-user can 
	// still expand the GroupBy rows via double-clicking or the keyboard.
	//
	this.ultraGrid1.DisplayLayout.Override.GroupByRowExpansionStyle = GroupByRowExpansionStyle.DoubleClick;

	// Make it so that the GroupBy rows will automatically be expanded when a column is grouped.
	//
	this.ultraGrid1.DisplayLayout.Override.GroupByRowInitialExpansionState = GroupByRowInitialExpansionState.Expanded;
}
参照