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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider, IAtspiValue
- Inheritance
-
- Implements
-
Constructors
Declaration
API Level: 8
View Source
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 Source
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
Fields
Declaration
public static readonly BindableProperty IndicatorColorProperty
Field Value
Declaration
public static readonly BindableProperty IndicatorCountProperty
Field Value
View Source
The IndicatorImageUrlSelector bindable property.
Declaration
public static readonly BindableProperty IndicatorImageUrlProperty
Field Value
Declaration
public static readonly BindableProperty IndicatorSizeProperty
Field Value
Declaration
public static readonly BindableProperty IndicatorSpacingProperty
Field Value
Declaration
public static readonly BindableProperty LastIndicatorImageUrlProperty
Field Value
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Declaration
public static readonly BindableProperty SelectedIndicatorColorProperty
Field Value
Properties
Declaration
public Color IndicatorColor { get; set; }
Property Value
API Level: 8
View Source
Gets or sets the count of the pages/indicators.
Declaration
public int IndicatorCount { get; set; }
Property Value
API Level: 8
View Source
Gets or sets the background resource of indicator.
Declaration
public Selector<string> IndicatorImageUrl { get; set; }
Property Value
API Level: 8
Declaration
public Size IndicatorSize { get; set; }
Property Value
API Level: 8
Declaration
public int IndicatorSpacing { get; set; }
Property Value
API Level: 8
View Source
This is experimental API.
Make the last indicator has exceptional image, not common image in the Pagination.
Declaration
public Selector<string> LastIndicatorImageUrl { get; set; }
Property Value
View Source
Gets or sets the index of the select indicator.
Declaration
public int SelectedIndex { get; set; }
Property Value
API Level: 8
Declaration
public Color SelectedIndicatorColor { get; set; }
Property Value
API Level: 8
Declaration
public PaginationStyle Style { get; }
Property Value
API Level: 8
Methods
View Source
you can override it to create your own default style.
Declaration
protected override ViewStyle CreateViewStyle()
Returns
Type |
Description |
ViewStyle |
The default pagination style.
|
Overrides
API Level: 8
View Source
you can override it to clean-up your own resources.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
API Level: 8
View Source
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
Declaration
public override void OnInitialize()
Overrides
View Source
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 Source
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
|
API Level: 8
Explicit Interface Implementations
Declaration
double IAtspiValue.AccessibilityGetCurrent()
Returns
Declaration
double IAtspiValue.AccessibilityGetMaximum()
Returns
Declaration
double IAtspiValue.AccessibilityGetMinimum()
Returns
Declaration
double IAtspiValue.AccessibilityGetMinimumIncrement()
Returns
Declaration
string IAtspiValue.AccessibilityGetValueText()
Returns
Declaration
bool IAtspiValue.AccessibilitySetCurrent(double value)
Parameters
Type |
Name |
Description |
Double |
value |
|
Returns
Implements
Extension Methods