Class ExpandingAndCollapsingEventArgs
Provides data for the Expanding and Collapsing events of the SfAccordion control.
Inherited Members
Namespace: Syncfusion.Maui.Accordion
Assembly: Syncfusion.Maui.Expander.dll
Syntax
public class ExpandingAndCollapsingEventArgs : CancelEventArgs
Constructors
ExpandingAndCollapsingEventArgs(int)
Initializes a new instance of the ExpandingAndCollapsingEventArgs class and it provides the respectable event data.
Declaration
public ExpandingAndCollapsingEventArgs(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The currently expanding or collapsing accordion item index. |
Properties
Index
Gets the index of the AccordionItem being collapsed or expanded in the SfAccordion.
Declaration
public int Index { get; }
Property Value
| Type |
|---|
| int |