Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / CellValidationErrorEventArgs Class / CancelEdit Property


In This Topic
    CancelEdit Property (CellValidationErrorEventArgs)
    In This Topic
    Gets or sets a boolean value indicating if the cell whould exit edit mode.
    Syntax
    'Declaration
     
    Public Property CancelEdit As Boolean
    'Usage
     
    Dim instance As CellValidationErrorEventArgs
    Dim value As Boolean
     
    instance.CancelEdit = value
     
    value = instance.CancelEdit
    public bool CancelEdit {get; set;}

    Property Value

    true if the cell should exit edit mode; false otherwise.
    Remarks

    Setting CancelEdit to true has the same result as calling Cell.LeaveEdit with "commit" set to false.

    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