Class ExpandingAndCollapsingEventArgs
Provides data for the Expanding and Collapsing events of the SfAccordion control.
Inheritance
System.Object
ExpandingAndCollapsingEventArgs
Namespace: Syncfusion.Maui.Accordion
Assembly: Syncfusion.Maui.Expander.dll
Syntax
public class ExpandingAndCollapsingEventArgs : CancelEventArgs
Constructors
ExpandingAndCollapsingEventArgs(Int32)
Initializes a new instance of the ExpandingAndCollapsingEventArgs class and it provides the respectable event data.
Declaration
public ExpandingAndCollapsingEventArgs(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | 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 |
---|
System.Int32 |