Class GridRowColHidingEventArgs
Used by RowsHiding and ColsHiding events.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridRowColHidingEventArgs : SyncfusionCancelEventArgs
Remarks
GridRowColHidingEventArgs is a custom event argument class used by the RowsHiding and ColsHiding event.
This event is raised by the model to notify all associated views that there will be a change to the specified range of rows and columns in the grid and all associated views should prepare to redraw the affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing Item[Int32].
The event handler can abort this operation by assigning true to the System.ComponentModel.CancelEventArgs.Cancel property. No changes will then take place in the grid model.
Constructors
GridRowColHidingEventArgs(Int32, Int32, Boolean[])
Initializes the new instances of the GridRowColHidingEventArgs class.
Declaration
public GridRowColHidingEventArgs(int from, int last, bool[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | from | The first row or column index of the affected range. |
System.Int32 | last | The last row or column index of the affected range. |
System.Boolean[] | values | The new state for the affected columns or rows. |
Properties
From
Gets the first row or column index of the affected range.
Declaration
[TraceProperty(true)]
public int From { get; }
Property Value
Type |
---|
System.Int32 |
To
Gets the last row or column index of the affected range.
Declaration
[TraceProperty(true)]
public int To { get; }
Property Value
Type |
---|
System.Int32 |
Values
Gets the new state for the affected columns or rows.
Declaration
public bool[] Values { get; }
Property Value
Type |
---|
System.Boolean[] |