public event RowsInsertedEventHandler RowsInserted
Public Event RowsInserted As RowsInsertedEventHandler
The RowsInserted event's data class is RowsChangedEventArgs. The following properties provide information specific to this event:
|Count||Gets the number of columns inserted or removed. Inherited from ColumnsChangedEventArgs.|
|StartIndex||Gets the index of the first column after which the columns are inserted or removed. Inherited from ColumnsChangedEventArgs.|
Handle the RowsInserted event to perform specific actions each time an end-user inserts new rows into a worksheet via the control’s UI. After rows have been deleted from a worksheet, the SpreadsheetControl.RowsRemoved event is raised.
By default, the RowsInserted event does not occur when inserting rows in code. However, this event will also be triggered by changes made via an API if you set the WorkbookEventOptions.RaiseOnModificationsViaAPI property (accessible via the SpreadsheetControl.Options.Events.RaiseOnModificationsViaAPI notation) to true.