Class GridCountChangedEventArgs
Provides data about the HeaderRowCountChanged, FrozenRowCountChanged, HeaderColCountChanged, and FrozenColCountChanged events.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridCountChangedEventArgs : SyncfusionSuccessEventArgs
Remarks
GridCountChangedEventArgs is a custom event argument class used by the HeaderRowCountChanged, FrozenRowCountChanged, HeaderColCountChanged, and FrozenColCountChanged events.
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 HeaderCount or FrozenCount.
The Success 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
GridCountChangedEventArgs(Int32, Boolean)
Initializes the new instances of the GridCountChangedEventArgs class.
Declaration
public GridCountChangedEventArgs(int savedCount, bool success)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | savedCount | The previous number of frozen or header rows or columns (depending on event). |
System.Boolean | success | Indicates if operation was successful or aborted. |
Properties
SavedValue
Gets the previous number of frozen or header rows or columns (depending on event).
Declaration
[TraceProperty(true)]
public int SavedValue { get; }
Property Value
Type |
---|
System.Int32 |