Class GridSplitterResizeStartedEventArgs
Provides data for the ResizeStarted event.
Inheritance
Namespace: Syncfusion.Maui.Toolkit.GridSplitter
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class GridSplitterResizeStartedEventArgs : CancelEventArgs
Remarks
This event argument is raised when a user begins dragging a separator to resize adjacent panes.
The event includes the index of the pane being resized and a reference to the pane itself.
Handlers can set Cancel to true to prevent the resize operation from starting.
Constructors
GridSplitterResizeStartedEventArgs(Int32[], SplitterPane[])
Initializes a new instance of the GridSplitterResizeStartedEventArgs class.
Declaration
public GridSplitterResizeStartedEventArgs(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.