Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / AddingDataRowEventHandler Delegate


In This Topic
    AddingDataRowEventHandler Delegate
    In This Topic
    Represents the method that will handle the DetailGrid's DetailGrid.AddingDataRow event and the grid's AddingDataRow events.
    Syntax
    'Declaration
     
    Public Delegate Sub AddingDataRowEventHandler( _
       ByVal sender As Object, _
       ByVal e As AddingDataRowEventArgs _
    ) 
    'Usage
     
    Dim instance As New AddingDataRowEventHandler(AddressOf HandlerMethod)
    public delegate void AddingDataRowEventHandler( 
       object sender,
       AddingDataRowEventArgs e
    )

    Parameters

    sender
    e
    Remarks

    When bound to a data source, the DetailGrid's DetailGrid.AddingDataRow event and the grid's AddingDataRow event are raised for each row found in the data source. When in unbound mode (providing data manually), it is raised once for each DataRow added using the Xceed.Grid.Collections.DataRowList.AddNew method afterCellRow.EndEdit is called in order to provide data to each cell in the row.

    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