Class GridSplitterResizingEventArgs
Provides data for the Resizing event.
Inheritance
Namespace: Syncfusion.Maui.Toolkit.GridSplitter
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class GridSplitterResizingEventArgs : EventArgs
Remarks
This event argument is raised continuously as a user drags a separator to resize adjacent panes.
The event is throttled to approximately 60 FPS (every ~16 ms) to avoid performance degradation.
To cancel a resize operation, set
Cancel to true in the
ResizeStarted event handler BEFORE the drag begins mutating
the layout. The Resizing event is purely informational and
no longer carries a Cancel flag - cancellation must be signalled in
ResizeStarted.
Constructors
GridSplitterResizingEventArgs(Int32[], SplitterPane[])
Initializes a new instance of the GridSplitterResizingEventArgs class.
Declaration
public GridSplitterResizingEventArgs(int[] index, SplitterPane[] pane)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32[] | index | An array containing the zero-based indexes of the affected panes. The first value represents the primary pane being resized, and the second value represents its adjacent pane. |
| SplitterPane[] | pane | An array containing the affected SplitterPane instances. The first item is the primary pane being resized, and the second item is its adjacent pane. |
Properties
Indexes
Gets the zero-based indexes of the affected panes.
Declaration
public int[] Indexes { get; }
Property Value
| Type |
|---|
| System.Int32[] |
Remarks
The first index represents the primary pane being resized, and the second index represents its adjacent pane in the SplitterPanes collection.
Panes
Gets the affected SplitterPane instances.
Declaration
public SplitterPane[] Panes { get; }
Property Value
| Type |
|---|
| SplitterPane[] |
Remarks
The first pane is the primary pane being resized, and the second pane is its adjacent pane.