Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / InitializingNewDataRow Event


In This Topic
    InitializingNewDataRow Event (GridControl)
    In This Topic
    Raised only by the Xceed.Grid.Collections.DataRowList.AddNew method to initialize the default values of cells in the data row.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised only by the DataRowList.AddNew method to initialize the default values of cells in the data row.")>
    <CategoryAttribute("Data")>
    Public Event InitializingNewDataRow As InitializingNewDataRowEventHandler
    'Usage
     
    Dim instance As GridControl
    Dim handler As InitializingNewDataRowEventHandler
     
    AddHandler instance.InitializingNewDataRow, handler
    [Description("Raised only by the DataRowList.AddNew method to initialize the default values of cells in the data row.")]
    [Category("Data")]
    public event InitializingNewDataRowEventHandler InitializingNewDataRow
    Event Data

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

    PropertyDescription
    Gets a reference to a DataRow object representing the data row which was created using the Xceed.Grid.Collections.DataRowList.AddNew method.  
    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