Class AutoScrollPosition
Defines constants that describes to specify the scroll position of the expanded AccordionItem.
Inheritance
Namespace: Syncfusion.XForms.Accordion
Assembly: Syncfusion.Expander.XForms.dll
Syntax
public sealed class AutoScrollPosition : Enum
Remarks
This property is used to scroll the expanded accordion item based on the given constant values. The MakeVisible scrolls an expanded item to be completely visible in view not necessarily at the top. The Top constant, scrolls an expanded item to the top of the view. The None constant does not scrolls and lets the item in the same position.
Fields
MakeVisible
Scrolls to make accordion item visible in the view. If the accordion item is already in view scrolling will not occur. Otherwise, the accordion item will be scrolled to be completely visible in view.
Declaration
public const AutoScrollPosition MakeVisible
Field Value
Type |
---|
AutoScrollPosition |
None
The accordion item does not scrolls and remain in the same position.
Declaration
public const AutoScrollPosition None
Field Value
Type |
---|
AutoScrollPosition |
Top
Scrolls to make accordion item visible in top of the view.
Declaration
public const AutoScrollPosition Top
Field Value
Type |
---|
AutoScrollPosition |