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