バージョン

Bands プロパティ

UltraGridBand オブジェクトのコレクション。グリッド レベルで使用するときに、コレクションはコントロールにすべての UltraGridBand オブジェクトを含みます。
シンタックス
'宣言
 
Public ReadOnly Property Bands As BandsCollection
public BandsCollection Bands {get;}
解説

Bands コレクションは、グリッドにすべての UltraGridBand オブジェクトを含みます。各 UltraGridBand オブジェクトは階層データセットの単一レベルを表します。

BandsCollection
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

      Me.OleDbDataAdapter1.Fill(Me.DataSet11)
      Me.OleDbDataAdapter2.Fill(Me.DataSet11)
      Me.OleDbDataAdapter3.Fill(Me.DataSet11)

      Me.ultraGrid1.SetDataBinding(Me.DataSet11, "")
      
      ' You can set the ScrollTipField to the key of the column key you want the
      ' UltraGrid to display cell values of in the tool-tips that show up when the user
      ' drags the vertical scrollbar thumb.
      Me.UltraGrid1.DisplayLayout.Bands(0).ScrollTipField = "CustomerID"

      ' Ensure that ScrollStyle is Deferred which it is by default otherwise the 
      ' UltraGrid will not display tool-tips mentioned above when the user drags the 
      ' vertical scrollbar thumb.
      Me.UltraGrid1.DisplayLayout.ScrollStyle = ScrollStyle.Deferred

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

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

	this.oleDbDataAdapter1.Fill( this.dataSet11 );
	this.oleDbDataAdapter2.Fill( this.dataSet11 );
	this.oleDbDataAdapter3.Fill( this.dataSet11 );

	this.ultraGrid1.SetDataBinding( this.dataSet11, "" );

	// You can set the ScrollTipField to the key of the column key you want the
	// UltraGrid to display cell values of in the tool-tips that show up when the user
	// drags the vertical scrollbar thumb.
	this.ultraGrid1.DisplayLayout.Bands[0].ScrollTipField = "CustomerID";

	// Ensure that ScrollStyle is Deferred which it is by default otherwise the 
	// UltraGrid will not display tool-tips mentioned above when the user drags the 
	// vertical scrollbar thumb.
	this.ultraGrid1.DisplayLayout.ScrollStyle = ScrollStyle.Deferred;

}
参照