Nevron.UI.WinForm.Controls Namespace / NDataGridView Class / DataError Event


In This Topic
    DataError Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("DataGridView_DataErrorDescr")>
    Public Event DataError As System.Windows.Forms.DataGridViewDataErrorEventHandler
    'Usage
     
    
    Dim instance As NDataGridView
    Dim handler As System.Windows.Forms.DataGridViewDataErrorEventHandler
     
    AddHandler instance.DataError, handler
    [SRCategory("CatBehavior")]
    [SRDescription("DataGridView_DataErrorDescr")]
    public event System.Windows.Forms.DataGridViewDataErrorEventHandler DataError
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DataGridViewDataErrorEventArgs containing data related to this event. The following DataGridViewDataErrorEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    (Inherited from System.Windows.Forms.DataGridViewCellCancelEventArgs)
    Gets details about the state of the System.Windows.Forms.DataGridView when the error occurred.  
    Gets the exception that represents the error.  
    (Inherited from System.Windows.Forms.DataGridViewCellCancelEventArgs)
    Gets or sets a value indicating whether to throw the exception after the System.Windows.Forms.DataGridViewDataErrorEventHandler delegate is finished with it.  
    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