Class GridResizingRowsEventArgs
Provides data about the cancelable ResizingRows event.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridResizingRowsEventArgs : SyncfusionCancelEventArgs
Remarks
GridResizingRowsEventArgs is a custom event argument class used by the ResizingRows event when the user is about to resize a row or is in the process of resizing a row.
You can disallow the resizing of specific rows at run-time when you assign True to System.ComponentModel.CancelEventArgs.Cancel.
You can also limit resizing rows to a given maximum value by changing the Height value.
Constructors
GridResizingRowsEventArgs(GridRangeInfo, Int32, GridResizeCellsReason, GridBorder, GridBorder, Point)
Initializes a new object.
Declaration
public GridResizingRowsEventArgs(GridRangeInfo rows, int height, GridResizeCellsReason reason, GridBorder sizeIndicatorBorder, GridBorder boundsIndicatorBorder, Point point)
Parameters
Type | Name | Description |
---|---|---|
GridRangeInfo | rows | The GridRangeInfo with rows affected by the current user action. |
System.Int32 | height | The new height of the rows. |
GridResizeCellsReason | reason | The originating reason for this event. |
GridBorder | sizeIndicatorBorder | The appearance of the line that indicates the new size. |
GridBorder | boundsIndicatorBorder | The appearance of the line that indicates the old boundaries. |
System.Drawing.Point | point | The mouse location. |
Properties
BoundsIndicatorBorder
Gets or sets the appearance of the line that indicates the old boundaries.
Declaration
[TraceProperty(true)]
public GridBorder BoundsIndicatorBorder { get; set; }
Property Value
Type |
---|
GridBorder |
Height
Gets or sets the new height of the rows.
Declaration
[TraceProperty(true)]
public int Height { get; set; }
Property Value
Type |
---|
System.Int32 |
Point
Gets the mouse location.
Declaration
[TraceProperty(true)]
public Point Point { get; }
Property Value
Type |
---|
System.Drawing.Point |
Reason
Gets the originating reason for this event.
Declaration
[TraceProperty(true)]
public GridResizeCellsReason Reason { get; }
Property Value
Type |
---|
GridResizeCellsReason |
Rows
Gets the GridRangeInfo with rows affected by the current user action.
Declaration
[TraceProperty(true)]
public GridRangeInfo Rows { get; }
Property Value
Type |
---|
GridRangeInfo |
SizeIndicatorBorder
Gets or sets the appearance of the line that indicates the new size.
Declaration
[TraceProperty(true)]
public GridBorder SizeIndicatorBorder { get; set; }
Property Value
Type |
---|
GridBorder |