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