Class Pagination

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll

Pagination shows the number of pages available and the currently active page.

C#
Copy
public class Pagination : Control, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Pagination
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

Pagination()

Creates a new instance of a Pagination.

Declaration
C#
Copy
public Pagination()
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

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

Properties

View Source

IndicatorColor

Color of the indicator.

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

IndicatorCount

Gets or sets the count of the pages/indicators.

Declaration
C#
Copy
public int IndicatorCount { get; set; }
Property Value
Type Description
int
Exceptions
Type Condition
System.ArgumentException

Thrown when the given value is negative.

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>
View Source

IndicatorSize

Gets or sets the size of the indicator.

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

IndicatorSpacing

Gets or sets the space of the indicator.

Declaration
C#
Copy
public int IndicatorSpacing { get; set; }
Property Value
Type Description
int
View Source

SelectedIndex

Gets or sets the index of the select indicator.

Declaration
C#
Copy
public int SelectedIndex { get; set; }
Property Value
Type Description
int
View Source

SelectedIndicatorColor

Color of the selected indicator.

Declaration
C#
Copy
public Color SelectedIndicatorColor { get; set; }
Property Value
Type Description
Color
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.

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
Tizen.NUI.Components.Control.CreateViewStyle()
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
Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
View Source

GetIndicatorPosition(int)

Retrieves the position of a indicator by index.

Declaration
C#
Copy
public Position GetIndicatorPosition(int index)
Parameters
Type Name Description
int index

Indicator index

Returns
Type Description
Position

The position of a indicator by index.

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

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

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable