Class GridRowColSizeChangedEventArgs
Provides data about the RowHeightsChanged and ColWidthsChanged event.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridRowColSizeChangedEventArgs : SyncfusionSuccessEventArgs
Remarks
GridRowColSizeChangedEventArgs is a custom event argument class used by the RowHeightsChanged and ColWidthsChanged 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 Item[Int32].
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
GridRowColSizeChangedEventArgs(Int32, Int32, Int32[], Boolean)
Initializes the new instances of the GridRowColSizeChangedEventArgs class.
Declaration
public GridRowColSizeChangedEventArgs(int from, int last, int[] 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.Int32[] | savedValues | The previous size 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 size of the affected columns or rows.
Declaration
public int[] SavedValues { 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 |