Version

BringCellIntoView Method

Brings the cell corresponding to the specified UltraTreeNodeColumn into view for this UltraTreeNode.
Syntax
'Declaration
 
Public Sub BringCellIntoView( _
   ByVal column As UltraTreeNodeColumn _
) 
public void BringCellIntoView( 
   UltraTreeNodeColumn column
)

Parameters

column
The UltraTreeNodeColumn which defines the cell to be brought into view.
Remarks

Note: If this UltraTreeNode is not associated with an UltraTree control, this method does nothing.

Note: If the LabelPosition property of the specified UltraTreeNodeColumn's associated UltraTreeColumnSet is set to 'LabelOnly', this method does nothing.

Example
The following code sample demonstrates how to activate and enter edit mode on a cell programatically:

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTree


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim node As UltraTreeNode = Me.ultraTree1.Nodes(0)
        Dim column As UltraTreeNodeColumn = node.DataColumnSetResolved.Columns("Address")
        node.BringCellIntoView(column)
        node.ActivateCell(column)
        node.BeginCellEdit(column)
    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;

		private void button1_Click(object sender, System.EventArgs e)
		{
			UltraTreeNode node = this.ultraTree1.Nodes[0];
			UltraTreeNodeColumn column = node.DataColumnSetResolved.Columns["Address"];
			node.BringCellIntoView( column );
			node.ActivateCell( column );
			node.BeginCellEdit( column );
		}
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