Class Pagination
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 8
Pagination shows the number of pages available and the currently active page.
public class Pagination : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlPagination
- Implements
Constructors
View SourcePagination()
Creates a new instance of a Pagination.
Declaration
public Pagination()
API Level: 8
View SourcePagination(String)
Creates a new instance of a Pagination using style.
Declaration
public Pagination(string style)
Parameters
Type | Name | Description |
---|---|---|
String | style | The string to initialize the Pagination |
API Level: 8
View SourcePagination(PaginationStyle)
Creates a new instance of a Pagination using style.
Declaration
public Pagination(PaginationStyle paginationStyle)
Parameters
Type | Name | Description |
---|---|---|
PaginationStyle | paginationStyle | The style object to initialize the Pagination |
API Level: 8
Properties
View SourceIndicatorColor
Color of the indicator.
Declaration
public Color IndicatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 8
View SourceIndicatorCount
Gets or sets the count of the pages/indicators.
Declaration
public int IndicatorCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 8
View SourceIndicatorImageUrl
Gets or sets the background resource of indicator.
Declaration
public Selector<string> IndicatorImageUrl { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.BaseComponents.Selector<String> |
API Level: 8
View SourceIndicatorSize
Gets or sets the size of the indicator.
Declaration
public Size IndicatorSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
API Level: 8
View SourceIndicatorSpacing
Gets or sets the space of the indicator.
Declaration
public int IndicatorSpacing { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 8
View SourceSelectedIndex
Gets or sets the index of the select indicator.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 8
View SourceSelectedIndicatorColor
Color of the selected indicator.
Declaration
public Color SelectedIndicatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 8
View SourceStyle
Get style of pagination.
Declaration
public PaginationStyle Style { get; }
Property Value
Type | Description |
---|---|
PaginationStyle |
API Level: 8
Methods
View SourceCreateViewStyle()
you can override it to create your own default style.
Declaration
protected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
Tizen.NUI.BaseComponents.ViewStyle | The default pagination style. |
Overrides
API Level: 8
View SourceDispose(DisposeTypes)
you can override it to clean-up your own resources.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | DisposeTypes |
Overrides
API Level: 8
View SourceGetIndicatorPosition(Int32)
Retrieves the position of a indicator by index.
Declaration
public Position GetIndicatorPosition(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | Indicator index |
Returns
Type | Description |
---|---|
Position | The position of a indicator by index. |
API Level: 8
View SourceSelectIn(VisualMap)
You can override it to do your select in operation.
Declaration
protected virtual void SelectIn(VisualMap selectInIndicator)
Parameters
Type | Name | Description |
---|---|---|
VisualMap | selectInIndicator | The indicator will be selected in |
API Level: 8
View SourceSelectOut(VisualMap)
You can override it to do your select out operation.
Declaration
protected virtual void SelectOut(VisualMap selectOutIndicator)
Parameters
Type | Name | Description |
---|---|---|
VisualMap | selectOutIndicator | The indicator will be selected out |