Version

TabNavigation Property

Gets/sets the behavior for the Tab key when navigating between cells.
Syntax
'Declaration
 
Public Property TabNavigation As TabNavigation
public TabNavigation TabNavigation {get; set;}
Remarks

The TabNavigation property enables the end developer to specify whether pressing the tab key should cause the next control in the tab order to be activated ('NextControl'), or navigate to the next cell ('NextCell'). When set to 'NextControlOnLastCell', pressing the tab key will result in the same behavior as the 'NextCell' setting, except when the last cell displayed by the control is active, or the first cell displayed by the control is active and the Shift key is depressed, in which case the next control in the tab order is activated.

Example
The following code samples demonstrates how to use the cell editing related properties of the UltraTreeColumnSettings object to configure the cell editing functionality for all cells in the UltraTree:

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTree

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        '	Use the ActiveCellAppearance to bring attention to the cell
        '	with the input focus
        Me.ultraTree1.ColumnSettings.ActiveCellAppearance.BackColor = Color.Red
        Me.ultraTree1.ColumnSettings.ActiveCellAppearance.ForeColor = Color.White

        '	Set AllowCellEdit to 'ActivateOnly' so that clicking a cell does
        '	not put in into edit mode immediately
        Me.ultraTree1.ColumnSettings.AllowCellEdit = AllowCellEdit.ActivateOnly

        '	Set TabNavigation to 'NextCell' so that the tab key can be used to
        '	navigate to a cell
        Me.ultraTree1.ColumnSettings.TabNavigation = TabNavigation.NextCell

        '	Enable tooltips for cells whose value is not fully visible
        Me.ultraTree1.ColumnSettings.TipStyleCell = TipStyleCell.Show

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Use the ActiveCellAppearance to bring attention to the cell
			//	with the input focus
			this.ultraTree1.ColumnSettings.ActiveCellAppearance.BackColor = Color.Red;
			this.ultraTree1.ColumnSettings.ActiveCellAppearance.ForeColor = Color.White;

			//	Set AllowCellEdit to 'ActivateOnly' so that clicking a cell does
			//	not put in into edit mode immediately
			this.ultraTree1.ColumnSettings.AllowCellEdit = AllowCellEdit.ActivateOnly;

			//	Set TabNavigation to 'NextCell' so that the tab key can be used to
			//	navigate to a cell
			this.ultraTree1.ColumnSettings.TabNavigation = TabNavigation.NextCell;

			//	Enable tooltips for cells whose value is not fully visible
			this.ultraTree1.ColumnSettings.TipStyleCell = TipStyleCell.Show;
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also