バージョン

AllowGroupBy プロパティ (UltraGridOverride)

GroupBy 列になるために、このバンドからの列をGroupByBoxにドラッグできるかどうかを決定します。デフォルトに解決した場合、'Yes'と想定します。
シンタックス
'宣言
 
Public Property AllowGroupBy As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean AllowGroupBy {get; set;}
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click

      ' Disallow the user to group rows by columns. Properties set on DisplayLayout's
      ' Override effect the whole grid.
      Me.UltraGrid1.DisplayLayout.Override.AllowGroupBy = DefaultableBoolean.False

      ' You can override above grid-wide settings on a particular band by setting the
      ' property in question to a non-default value in the Override object of that 
      ' band.
      Me.UltraGrid1.DisplayLayout.Bands(0).Override.AllowGroupBy = DefaultableBoolean.True

      ' Forthermore, you can override settings on the band's and layout's Override 
      ' objects by setting that property on the column itself.
      Me.UltraGrid1.DisplayLayout.Bands(0).Columns("CustomerID").AllowGroupBy = DefaultableBoolean.False

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

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

	// Disallow the user to group rows by columns. Properties set on DisplayLayout's
	// Override effect the whole grid.
	this.ultraGrid1.DisplayLayout.Override.AllowGroupBy = DefaultableBoolean.False;

	// You can override above grid-wide settings on a particular band by setting the
	// property in question to a non-default value in the Override object of that 
	// band.
	this.ultraGrid1.DisplayLayout.Bands[0].Override.AllowGroupBy = DefaultableBoolean.True;

	// Forthermore, you can override settings on the band's and layout's Override 
	// objects by setting that property on the column itself.
	this.ultraGrid1.DisplayLayout.Bands[0].Columns["CustomerID"].AllowGroupBy = DefaultableBoolean.False;

}
参照