Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / CellEditorManager Class / Validating Event


In This Topic
    Validating Event
    In This Topic
    Raised when validating the editor's value to determine if it can be assigned to its underlying cell.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised when validating the editor's value to determine if it can be assigned to its underlying cell.")>
    <CategoryAttribute("Data")>
    Public Event Validating As ValidatingEditorEventHandler
    'Usage
     
    Dim instance As CellEditorManager
    Dim handler As ValidatingEditorEventHandler
     
    AddHandler instance.Validating, handler
    [Description("Raised when validating the editor's value to determine if it can be assigned to its underlying cell.")]
    [Category("Data")]
    public event ValidatingEditorEventHandler Validating
    Event Data

    The event handler receives an argument of type ValidatingEditorEventArgs containing data related to this event. The following ValidatingEditorEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the Xceed.Grid.Cell being edited. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
    Gets the Control used to edit the cell's content. (Inherited from Xceed.Grid.Editors.CellEditorEventArgs)
    Gets or sets a boolean value indicating if the editor's value is valid and can be assigned to its underlying cell.  
    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