Class GridRangeRemovedEventArgs
Provides data about the RowsRemoved and ColumnsRemoved events.
Namespace: Syncfusion.UI.Xaml.CellGrid.Helpers
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public sealed class GridRangeRemovedEventArgs : GridEventArgs
Remarks
GridRangeRemovedEventArgs is a custom event argument class used by the RowsRemoved and ColumnsRemoved events.
This event is raised by the model to notify all associated views that it has rearranged the specified rows or columns in 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
GridRangeRemovedEventArgs(Int32, Int32)
Constructs a GridRangeRemovedEventArgs.
Declaration
public GridRangeRemovedEventArgs(int removeAt, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAt | The row or column index where the cells should be removed. |
System.Int32 | count | The number of rows or columns. |
Properties
Count
The number of rows or columns that are removed.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Rows or Columns count. |
RemoveAt
Gets or sets the index of the first row or column that was removed.
Declaration
public int RemoveAt { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Row/Column index. |