Class GridSplitterPaneExpandingEventArgs
Provides data for the Expanding event.
Inheritance
Namespace: Syncfusion.Maui.Toolkit.GridSplitter
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class GridSplitterPaneExpandingEventArgs : CancelEventArgs
Remarks
This event argument is raised when a pane is about to be expanded (shown after being collapsed).
The event includes the index of the pane being expanded and a reference to the pane itself.
Handlers can set Cancel to true to prevent the expand operation from occurring.
Constructors
GridSplitterPaneExpandingEventArgs(Int32[], SplitterPane[])
Initializes a new instance of the GridSplitterPaneExpandingEventArgs class.
Declaration
public GridSplitterPaneExpandingEventArgs(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 pane being expanded, and the second value represents its adjacent pane. |
| SplitterPane[] | pane | An array containing the affected SplitterPane instances. The first item is the pane being expanded, 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 pane being expanded, 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 pane being expanded, and the second pane is its adjacent pane.