'Declaration Public Event RowAddNew As C1ViewRowAddNewEventHandler
public event C1ViewRowAddNewEventHandler RowAddNew
Event Data
The event handler receives an argument of type C1ViewRowAddNewEventArgs containing data related to this event. The following C1ViewRowAddNewEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Row | Gets the C1ViewRow that is being added. |
Remarks
In contrast to the RowChanging and RowChanged events, which are raised when editing of a newly added row is being finished, this event is raised just after a new row has been created.
This event is an appropriate place to define default values for the row columns in code.
Raising an exception in this event handler prevents a new row from being added to C1DataView.
See Also