Class GridDefaultSizeChangedEventArgs
Provides data about the DefaultRowHeightChanged and DefaultColWidthChanged events.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridDefaultSizeChangedEventArgs : SyncfusionSuccessEventArgs
Remarks
GridDefaultSizeChangedEventArgs is a custom event argument class used by the DefaultRowHeightChanged and DefaultColWidthChanged events.
This event is raised by the model to notify all associated views that it has changed the default row height or column width of 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 DefaultSize.
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
GridDefaultSizeChangedEventArgs(Int32, Boolean)
Initializes the new instances of the GridDefaultSizeChangedEventArgs class.
Declaration
public GridDefaultSizeChangedEventArgs(int savedValue, bool success)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | savedValue | The previous default row height or column width |
System.Boolean | success | Indicates if the operation was succesful or aborted. |
Properties
SavedValue
Gets the previous default row height or column width.
Declaration
[TraceProperty(true)]
public int SavedValue { get; }
Property Value
Type |
---|
System.Int32 |