Class GridSplitterPaneCollapsingEventArgs
Provides data for the Collapsing event.
Inheritance
Namespace: Syncfusion.Maui.Toolkit.GridSplitter
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class GridSplitterPaneCollapsingEventArgs : CancelEventArgs
Remarks
This event argument is raised when a pane is about to be collapsed (hidden).
The event includes the index of the pane being collapsed and a reference to the pane itself.
Handlers can set Cancel to true to prevent the collapse operation from occurring.
Constructors
GridSplitterPaneCollapsingEventArgs(Int32[], SplitterPane[])
Initializes a new instance of the GridSplitterPaneCollapsingEventArgs class.
Declaration
public GridSplitterPaneCollapsingEventArgs(int[] index, SplitterPane[] pane)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32[] | index | The zero-based indexes of the panes involved in the collapse operation, including the pane being collapsed and its adjacent pane. |
| SplitterPane[] | pane | The SplitterPane instances involved in the collapse operation, including the pane being collapsed and its adjacent pane. |
Properties
Indexes
Gets the zero-based indexes of the panes involved in the collapse operation.
Declaration
public int[] Indexes { get; }
Property Value
| Type |
|---|
| System.Int32[] |
Remarks
These indexes correspond to the positions of the affected panes in the SplitterPanes collection, including the pane being collapsed and its adjacent pane.
Panes
Gets the SplitterPane instances involved in the collapse operation.
Declaration
public SplitterPane[] Panes { get; }
Property Value
| Type |
|---|
| SplitterPane[] |
Remarks
Contains the affected panes, including the pane being collapsed and its adjacent pane.