Version

Activate Method

Syntax
'Declaration
 
Public Function Activate() As Boolean
public bool Activate()
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