バージョン

IsInEditMode プロパティ

この UltraTreeNodeCell が現在編集モードかどうかを返します。
シンタックス
'宣言
 
Public ReadOnly Property IsInEditMode As Boolean
public bool IsInEditMode {get;}
使用例
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTree

    Private Sub ultraTree1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
        Dim control As UltraTree = sender
        If Not control.ActiveCell Is Nothing AndAlso Not control.ActiveCell.IsInEditMode Then

            If (e.KeyData = Keys.F5) Then
				control.ActiveNode.Update()
            ElseIf (e.KeyData = Keys.F6) Then
                control.ActiveNode.CancelUpdate()
            End If
        End If
    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;


		private void ultraTree1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			UltraTree control = sender as UltraTree;
			if ( control.ActiveCell != null && control.ActiveCell.IsInEditMode == false )
			{
				if ( e.KeyData == Keys.F5 )
					control.ActiveNode.Update();
				else
				if ( e.KeyData == Keys.F6 )
					control.ActiveNode.CancelUpdate();
			}
		}
参照