'Declaration Public Event AfterCellExitEditMode As AfterCellExitEditModeEventHandler
public event AfterCellExitEditModeEventHandler AfterCellExitEditMode
The event handler receives an argument of type AfterCellExitEditModeEventArgs containing data related to this event. The following AfterCellExitEditModeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cell (Inherited from Infragistics.Win.UltraWinTree.CellEventArgs) | Returns the UltraTreeNodeCell object for which this instance was created. |
Column (Inherited from Infragistics.Win.UltraWinTree.CellEventArgs) | Returns the UltraTreeNodeColumn for which this instance was created. |
Node (Inherited from Infragistics.Win.UltraWinTree.CellEventArgs) | Returns the UltraTreeNode for which this instance was created. |
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTree Private Sub ultraTree1_AfterCellExitEditMode(ByVal sender As Object, ByVal e As AfterCellExitEditModeEventArgs) Handles ultraTree1.AfterCellExitEditMode If e.Cell.Value Is Nothing Or e.Cell.Value Is DBNull.Value Then e.Cell.Appearance.BackColor = Color.Red End If End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTree; using System.Diagnostics; private void ultraTree1_AfterCellExitEditMode(object sender, Infragistics.Win.UltraWinTree.AfterCellExitEditModeEventArgs e) { if ( e.Cell.Value == null || e.Cell.Value == DBNull.Value ) { e.Cell.Appearance.BackColor = Color.Red; } }
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