Class GridCountChangingEventArgs
Provides data about the HeaderRowCountChanging, FrozenRowCountChanging, HeaderColCountChanging, and FrozenColCountChanging events.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridCountChangingEventArgs : SyncfusionCancelEventArgs
Remarks
GridCountChangingEventArgs is a custom event argument class used by the HeaderRowCountChanging, FrozenRowCountChanging, HeaderColCountChanging, and FrozenColCountChanging events.
This event is raised by the model to notify all associated views that it is about to change the specified range of rows and columns in the grid and all associated views should prepare to redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing HeaderCount or FrozenCount.
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
GridCountChangingEventArgs(Int32)
Initializes the new instances of the GridCountChangingEventArgs class.
Declaration
public GridCountChangingEventArgs(int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | The new number of frozen or header rows or columns (depending on event). |
Properties
Value
Gets the new number of frozen or header rows or columns (depending on event).
Declaration
[TraceProperty(true)]
public int Value { get; }
Property Value
Type |
---|
System.Int32 |