Xceed Grid for WinForms v4.3 Documentation
LeavingEditEventArgs Class
Members 


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace : LeavingEditEventArgs Class
Provides information on the Cell object that has been edited.
Syntax
'Declaration
 
Public Class LeavingEditEventArgs 
   Inherits System.ComponentModel.CancelEventArgs
'Usage
 
Dim instance As LeavingEditEventArgs
public class LeavingEditEventArgs : System.ComponentModel.CancelEventArgs 
Remarks

Custom validation can be provided in the LeavingEdit event. In this event, if the validation process fails, setting e.Cancel to true will cause the ValidationError event to be raised.

Setting e.CancelEdit to false in the ValidationError event will prevent the cell from leaving edit mode in the case where the its value fails the validation process.

Inheritance Hierarchy

System.Object
   System.EventArgs
      System.ComponentModel.CancelEventArgs
         Xceed.Grid.LeavingEditEventArgs

Requirements

Target Platforms: 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

Reference

LeavingEditEventArgs Members
Xceed.Grid Namespace