バージョン

ShowExpansionIndicator 列挙体

Override の UltraGridOverride.ExpansionIndicator プロパティと Row の UltraGridRow.ExpansionIndicator プロパティを指定する列挙体。
シンタックス
'宣言
 
Public Enum ShowExpansionIndicator 
   Inherits System.Enum
public enum ShowExpansionIndicator : System.Enum 
メンバ
メンバ解説
AlwaysAlways
CheckOnDisplay行がはじめて表示されるときにチェックします。
CheckOnExpand行が展開された後、子の存在をチェックします。子が存在しない場合は、インジケーターの表示が消えます。
Defaultデフォルトを使用します。
NeverNever
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button37_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button37.Click

      ' Set the ExpansionIndicator on the layout's override.
      Me.UltraGrid1.DisplayLayout.Override.ExpansionIndicator = ShowExpansionIndicator.CheckOnDisplay

      ' You can override that grid-wide setting for a particular band by setting it on the
      ' override of that band.
      Me.ultraGrid1.DisplayLayout.Bands(1).Override.ExpansionIndicator = ShowExpansionIndicator.CheckOnExpand

      ' You can also override this setting for a specific row by setting the property on 
      ' that row.
      Me.ultraGrid1.Rows(0).ExpansionIndicator = ShowExpansionIndicator.Never

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button37_Click(object sender, System.EventArgs e)
{

	// Set the ExpansionIndicator on the layout's override.
	this.ultraGrid1.DisplayLayout.Override.ExpansionIndicator = ShowExpansionIndicator.CheckOnDisplay;

	// You can override that grid-wide setting for a particular band by setting it on the
	// override of that band.
	this.ultraGrid1.DisplayLayout.Bands[1].Override.ExpansionIndicator = ShowExpansionIndicator.CheckOnExpand;

	// You can also override this setting for a specific row by setting the property on 
	// that row.
	this.ultraGrid1.Rows[0].ExpansionIndicator = ShowExpansionIndicator.Never;

}
参照