'Declaration Public Event BeforeCellDeactivate As BeforeCellDeactivateEventHandler
public event BeforeCellDeactivateEventHandler BeforeCellDeactivate
The event handler receives an argument of type BeforeCellDeactivateEventArgs containing data related to this event. The following BeforeCellDeactivateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
Cell (Inherited from Infragistics.Win.UltraWinTree.CancelableCellEventArgs) | Returns the UltraTreeNodeCell object for which this instance was created. |
Column (Inherited from Infragistics.Win.UltraWinTree.CancelableCellEventArgs) | Returns the UltraTreeNodeColumn for which this instance was created. |
Node (Inherited from Infragistics.Win.UltraWinTree.CancelableCellEventArgs) | Returns the UltraTreeNode for which this instance was created. |
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTree Private Sub UltraTree1_BeforeCellDeactivate(ByVal sender As Object, ByVal e As BeforeCellDeactivateEventArgs) Handles ultraTree1.BeforeCellDeactivate If e.Node.Level > 0 AndAlso e.Column.Key = "Address" Then e.Cancel = True End If End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTree; using System.Diagnostics; private void ultraTree1_BeforeCellDeactivate(object sender, Infragistics.Win.UltraWinTree.BeforeCellDeactivateEventArgs e) { if ( e.Node.Level > 0 && e.Column.Key == "Address" ) e.Cancel = true; }
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