Class GridSplitterPaneCollapsedEventArgs
Provides data for the Collapsed event.
Inheritance
Namespace: Syncfusion.Maui.Toolkit.GridSplitter
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class GridSplitterPaneCollapsedEventArgs : EventArgs
Remarks
This event argument is raised after a pane has been successfully collapsed (hidden). The event includes the index of the collapsed pane and a reference to the pane itself. This event marks the completion of a collapse operation and can be used to trigger dependent UI updates.
Constructors
GridSplitterPaneCollapsedEventArgs(Int32[], SplitterPane[])
Initializes a new instance of the GridSplitterPaneCollapsedEventArgs class.
Declaration
public GridSplitterPaneCollapsedEventArgs(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 collapsed pane, and the second value represents its adjacent pane. |
| SplitterPane[] | pane | An array containing the affected SplitterPane objects. The first item is the collapsed pane, and the second item is 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 collapsed pane 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 collapsed pane and its adjacent pane.