Version

BeginCellEdit Method

Activates the cell that corresponds to the specified UltraTreeNodeColumn, and begins an edit mode session on the cell.
Syntax
'Declaration
 
Public Function BeginCellEdit( _
   ByVal column As UltraTreeNodeColumn _
) As Boolean
public bool BeginCellEdit( 
   UltraTreeNodeColumn column
)

Parameters

column
The UltraTreeNodeColumn which contains the cell to be edited.

Return Value

A boolean indicating whether an edit mode session was successfully begun on the cell.If edit mode was successfully entered on the cell, true is returned; false is returned otherwise.
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