バージョン

TabStop プロパティ (UltraGridCell)

[Tab] キーの操作でユーザーがオブジェクトにフォーカスを指定できるかどうかを決定する値を返すか、設定します。
シンタックス
'宣言
 
Public Property TabStop As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean TabStop {get; set;}
解説

このプロパティを使用して、[TAB] キーを押して列のセルをユーザーがナビゲートできるかどうかを指定します。

TabNavigation プロパティは、[TAB] キーを押すとコントロールがどのように応答するかを指定するために使用されます。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Imports System.Diagnostics

   Private Sub Button25_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button25.Click

       ' Set TabStop on a column.
       Dim column As UltraGridColumn = Me.UltraGrid1.DisplayLayout.Bands(0).Columns(1)
       column.TabStop = False

       ' Get two cells from the same column. One from first row, and one from the
       ' second row.
       Dim cell1 As UltraGridCell = Me.UltraGrid1.Rows(0).Cells(column)
       Dim cell2 As UltraGridCell = Me.UltraGrid1.Rows(0).Cells(column)

       ' You can override the column setting and set TabStop on an individual cell.
       ' In this case we are overrriding the TabStop on cell1.
       cell1.TabStop = DefaultableBoolean.True

       ' Following code writes out whether tabstop is turned on on cell1 and cell2. Both of
       ' these cells belong to the column that we disabled the tab-stopping on. However we
       ' set TabStop to True explicitly on cell1. So cell1.IsTabStop should be true but 
       ' cell2.IsTabStop should pickup the setting from the column and write out false.
       Debug.WriteLine("Cell1.IsTabStop = " & cell1.IsTabStop)
       Debug.WriteLine("Cell2.IsTabStop = " & cell2.IsTabStop)

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

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

	// Set TabStop on a column.
	UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns[1];			
	column.TabStop = false;

	// Get two cells from the same column. One from first row, and one from the
	// second row.
	UltraGridCell cell1 = this.ultraGrid1.Rows[0].Cells[column];
	UltraGridCell cell2 = this.ultraGrid1.Rows[0].Cells[column];

	// You can override the column setting and set TabStop on an individual cell.
	// In this case we are overrriding the TabStop on cell1.
	cell1.TabStop = DefaultableBoolean.True;

	// Following code writes out whether tabstop is turned on on cell1 and cell2. Both of
	// these cells belong to the column that we disabled the tab-stopping on. However we
	// set TabStop to True explicitly on cell1. So cell1.IsTabStop should be true but 
	// cell2.IsTabStop should pickup the setting from the column and write out false.
	Debug.WriteLine( "Cell1.IsTabStop = " + cell1.IsTabStop );
	Debug.WriteLine( "Cell2.IsTabStop = " + cell2.IsTabStop );

}
参照