Class GridRowColHiddenEventArgs
Provides data about the RowsHidden and ColsHidden event.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridRowColHiddenEventArgs : SyncfusionSuccessEventArgs
Remarks
GridRowColHiddenEventArgs is a custom event argument class used by the RowsHidden and ColsHidden event.
This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing Item[Int32].
The Success property indicates if all changes were successfully made to the model. If it is false, this means the operation aborted. However, the view contents need to be redrawn no matter if the operation was successful or not.
Constructors
GridRowColHiddenEventArgs(Int32, Int32, Boolean[], Boolean)
Initializes the new instances of the GridRowColHiddenEventArgs class.
Declaration
public GridRowColHiddenEventArgs(int from, int last, bool[] savedValues, bool success)
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[] | savedValues | The previous state of the affected columns or rows. |
System.Boolean | success | Indicates if operation was successful or aborted. |
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 |
SavedValues
Gets the previous state of the affected columns or rows.
Declaration
public bool[] SavedValues { get; }
Property Value
Type |
---|
System.Boolean[] |
To
Gets the last row or column index of the affected range.
Declaration
[TraceProperty(true)]
public int To { get; }
Property Value
Type |
---|
System.Int32 |