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.

C#
Copy
public class Pagination : Control, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider, IAtspiValue
Inheritance
Implements

Constructors

View Source

Pagination()

Creates a new instance of a Pagination.

Declaration
C#
Copy
public Pagination()
API Level: 8
View Source

Pagination(String)

Creates a new instance of a Pagination using style.

Declaration
C#
Copy
public Pagination(string style)
Parameters
Type Name Description
String style

The string to initialize the Pagination

API Level: 8
View Source

Pagination(PaginationStyle)

Creates a new instance of a Pagination using style.

Declaration
C#
Copy
public Pagination(PaginationStyle paginationStyle)
Parameters
Type Name Description
PaginationStyle paginationStyle

The style object to initialize the Pagination

API Level: 8

Fields

View Source

IndicatorColorProperty

IndicatorColorProperty

Declaration
C#
Copy
public static readonly BindableProperty IndicatorColorProperty
Field Value
Type Description
BindableProperty
View Source

IndicatorCountProperty

IndicatorCountProperty

Declaration
C#
Copy
public static readonly BindableProperty IndicatorCountProperty
Field Value
Type Description
BindableProperty
View Source

IndicatorImageUrlProperty

The IndicatorImageUrlSelector bindable property.

Declaration
C#
Copy
public static readonly BindableProperty IndicatorImageUrlProperty
Field Value
Type Description
BindableProperty
View Source

IndicatorSizeProperty

The IndicatorSize bindable property.

Declaration
C#
Copy
public static readonly BindableProperty IndicatorSizeProperty
Field Value
Type Description
BindableProperty
View Source

IndicatorSpacingProperty

The IndicatorSpacing bindable property.

Declaration
C#
Copy
public static readonly BindableProperty IndicatorSpacingProperty
Field Value
Type Description
BindableProperty
View Source

LastIndicatorImageUrlProperty

LastIndicatorImageUrlProperty

Declaration
C#
Copy
public static readonly BindableProperty LastIndicatorImageUrlProperty
Field Value
Type Description
BindableProperty
View Source

SelectedIndexProperty

SelectedIndexProperty

Declaration
C#
Copy
public static readonly BindableProperty SelectedIndexProperty
Field Value
Type Description
BindableProperty
View Source

SelectedIndicatorColorProperty

SelectedIndicatorColorProperty

Declaration
C#
Copy
public static readonly BindableProperty SelectedIndicatorColorProperty
Field Value
Type Description
BindableProperty

Properties

View Source

IndicatorColor

Color of the indicator.

Declaration
C#
Copy
public Color IndicatorColor { get; set; }
Property Value
Type Description
Color
API Level: 8
View Source

IndicatorCount

Gets or sets the count of the pages/indicators.

Declaration
C#
Copy
public int IndicatorCount { get; set; }
Property Value
Type Description
Int32
API Level: 8
View Source

IndicatorImageUrl

Gets or sets the background resource of indicator.

Declaration
C#
Copy
public Selector<string> IndicatorImageUrl { get; set; }
Property Value
Type Description
Selector<String>
API Level: 8
View Source

IndicatorSize

Gets or sets the size of the indicator.

Declaration
C#
Copy
public Size IndicatorSize { get; set; }
Property Value
Type Description
Size
API Level: 8
View Source

IndicatorSpacing

Gets or sets the space of the indicator.

Declaration
C#
Copy
public int IndicatorSpacing { get; set; }
Property Value
Type Description
Int32
API Level: 8
View Source

LastIndicatorImageUrl

This is experimental API. Make the last indicator has exceptional image, not common image in the Pagination.

Declaration
C#
Copy
public Selector<string> LastIndicatorImageUrl { get; set; }
Property Value
Type Description
Selector<String>
View Source

SelectedIndex

Gets or sets the index of the select indicator.

Declaration
C#
Copy
public int SelectedIndex { get; set; }
Property Value
Type Description
Int32
API Level: 8
View Source

SelectedIndicatorColor

Color of the selected indicator.

Declaration
C#
Copy
public Color SelectedIndicatorColor { get; set; }
Property Value
Type Description
Color
API Level: 8
View Source

Style

Return currently applied style.

Declaration
C#
Copy
public PaginationStyle Style { get; }
Property Value
Type Description
PaginationStyle
Remarks

Modifying contents in style may cause unexpected behaviour.

API Level: 8

Methods

View Source

CreateViewStyle()

you can override it to create your own default style.

Declaration
C#
Copy
protected override ViewStyle CreateViewStyle()
Returns
Type Description
ViewStyle

The default pagination style.

Overrides
API Level: 8
View Source

Dispose(DisposeTypes)

you can override it to clean-up your own resources.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

DisposeTypes

Overrides
API Level: 8
View Source

GetIndicatorPosition(Int32)

Retrieves the position of a indicator by index.

Declaration
C#
Copy
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 Source

OnInitialize()

Overrides the parent method.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
View Source

SelectIn(VisualMap)

You can override it to do your select in operation.

Declaration
C#
Copy
protected virtual void SelectIn(VisualMap selectInIndicator)
Parameters
Type Name Description
VisualMap selectInIndicator

The indicator will be selected in

API Level: 8
View Source

SelectOut(VisualMap)

You can override it to do your select out operation.

Declaration
C#
Copy
protected virtual void SelectOut(VisualMap selectOutIndicator)
Parameters
Type Name Description
VisualMap selectOutIndicator

The indicator will be selected out

API Level: 8

Explicit Interface Implementations

View Source

IAtspiValue.AccessibilityGetCurrent()

Current value.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetCurrent()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMaximum()

Maximum value.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMaximum()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMinimum()

Minimum value.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMinimum()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMinimumIncrement()

Minimum increment.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMinimumIncrement()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetValueText()

Formatted current value.

Declaration
C#
Copy
string IAtspiValue.AccessibilityGetValueText()
Returns
Type Description
String
View Source

IAtspiValue.AccessibilitySetCurrent(Double)

Current value.

Declaration
C#
Copy
bool IAtspiValue.AccessibilitySetCurrent(double value)
Parameters
Type Name Description
Double value
Returns
Type Description
Boolean

Implements

Extension Methods