'宣言 Public Function BeginCellEdit( _ ByVal column As UltraTreeNodeColumn _ ) As Boolean
public bool BeginCellEdit( UltraTreeNodeColumn column )
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 ); }