Class ExpandingAndCollapsingEventArgs
Provides data for the Expanding and Collapsing event as event args.
Inheritance
System.Object
ExpandingAndCollapsingEventArgs
Namespace: Syncfusion.XForms.Accordion
Assembly: Syncfusion.Expander.XForms.dll
Syntax
public class ExpandingAndCollapsingEventArgs : CancelEventArgs
Remarks
This provides the data for accordion item expanding and collapsing event. This provides a currently expanding or collapsing item index.
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 an index of the expanding or collapsing accordion item and which is used to access that particular item from the accordion item collection.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |