Class
GridViewAddingNewEventArgs

Provides data for the AddingNewDataItem event.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewAddingNewEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewAddingNewEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewAddingNewEventArgs(GridViewDataControl)

Initializes a new instance of the GridViewAddingNewEventArgs class.

Declaration

cs-api-definition
public GridViewAddingNewEventArgs(GridViewDataControl gridViewItemsControl)

Parameters

gridViewItemsControl

GridViewDataControl

The grid view items control.

Properties

NewObject

Gets or sets the object to be added to the binding list.

Declaration

cs-api-definition
public object NewObject { get; set; }

Property Value

object

OwnerGridViewItemsControl

Gets the owning GridViewDataControl.

Declaration

cs-api-definition
public GridViewDataControl OwnerGridViewItemsControl { get; }

Property Value

GridViewDataControl

The owning GridViewDataControl.