Class ExpandedAndCollapsedEventArgs
Provides data for the Expanded and Collapsed event of the SfAccordion control.
Inheritance
System.Object
ExpandedAndCollapsedEventArgs
Namespace: Syncfusion.Maui.Accordion
Assembly: Syncfusion.Maui.Expander.dll
Syntax
public class ExpandedAndCollapsedEventArgs : EventArgs
Constructors
ExpandedAndCollapsedEventArgs(Int32)
Initializes a new instance of the ExpandedAndCollapsedEventArgs class and it provides the respectable event data.
Declaration
public ExpandedAndCollapsedEventArgs(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The currently expanded or collapsed accordion item index. |
Properties
Index
Gets the index of the expanded or collapsed AccordionItem in the SfAccordion.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |