Class CarouselPage
The native box that provides CarouselPage features.
Inherited Members
Namespace: Tizen.UIExtensions.ElmSharp
Assembly: Tizen.UIExtensions.ElmSharp.dll
Syntax
public class CarouselPage : Box
Constructors
CarouselPage(EvasObject)
Initializes a new instance of the CarouselPage class.
Declaration
public CarouselPage(EvasObject parent)
Parameters
| Type | Name | Description |
|---|---|---|
| EvasObject | parent |
Properties
CurrentPageIndex
The current index of the displayed page.
Declaration
public int CurrentPageIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
AddChildrenList(EvasObject)
Add a child box to the CarouselPage.
Declaration
public void AddChildrenList(EvasObject box)
Parameters
| Type | Name | Description |
|---|---|---|
| EvasObject | box |
ResetChildrenList()
Resets the child box list.
Declaration
public void ResetChildrenList()
ScrollTo(Int32, Boolean)
Scroll to pages.
Declaration
public void ScrollTo(int index, bool animated)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index of horizontal page to scroll. |
| System.Boolean | animated | Whether or not to animate the scroll. |
UpdateIndexItem()
Updates the index item.
Declaration
public void UpdateIndexItem()
Events
PageScrolled
Raised when the page has been scrolled.
Declaration
public event EventHandler<PageScrolledEventArgs> PageScrolled
Event Type
| Type | Description |
|---|---|
| System.EventHandler<PageScrolledEventArgs> |