Class GridRangeInsertedEventArgs
Provides data about the RowsInserted and ColumnsInserted events.
Namespace: Syncfusion.UI.Xaml.CellGrid.Helpers
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public sealed class GridRangeInsertedEventArgs : GridEventArgs
Remarks
GridRangeInsertedEventArgs is a custom event argument class used by the RowsInserted and ColumnsInserted events.
This event is raised by the model to notify all associated views that it has inserted the specified number of rows or column into its data store and all associated views should redraw affected display contents.
The Handled property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not.
Constructors
GridRangeInsertedEventArgs(Int32, Int32)
Initializes a new GridRangeInsertedEventArgs.
Declaration
public GridRangeInsertedEventArgs(int insertAt, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | insertAt | The row or column index where the cells should be inserted before. |
System.Int32 | count | The number of rows or columns. |
Properties
Count
The number of rows or columns.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | rows or columns count. |
InsertAt
Gets the row or column index where the cells should be inserted before.
Declaration
public int InsertAt { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The row or column index. |