DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / ViewRowCollection Class / ViewRowAdding Event

In This Topic
    ViewRowAdding Event (ViewRowCollection)
    In This Topic
    Occurs after a new view row is created so it can be populated with default values.
    Public Event ViewRowAdding As EventHandler(Of ViewRowAddingEventArgs)
    public event EventHandler<ViewRowAddingEventArgs> ViewRowAdding
    Event Data

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

    Gets the new view row that has just been added to ViewRowCollection.  

    This event occurs only if the new row is created directly in the view, as a result of a view update operation, that is, with CreateRow or via data binding. It does not occur when new rows appear in the view as a result of view maintenance on changes made to the view's source data collections.

    This event occurs immediately on creating the new row, before the method creating it returns, before the row enters edit mode (see ViewRowState about edit mode).

    See Also