New to Telerik UI for WPFStart a free 30-day trial

Provides data for the AddingNewDataItem event.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewAddingNewEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewAddingNewEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the GridViewAddingNewEventArgs class.

C#
public GridViewAddingNewEventArgs(GridViewDataControl gridViewItemsControl)
Parameters:gridViewItemsControlGridViewDataControl

The grid view items control.

Properties

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

C#
public object NewObject { get; set; }

Gets the owning GridViewDataControl.

C#
public GridViewDataControl OwnerGridViewItemsControl { get; }
Property Value:

The owning GridViewDataControl.