Class Pagination

    Definition

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

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

    public class Pagination : Control, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider, IAtspiValue
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    Pagination
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider
    IAtspiValue

    Constructors

    View Source

    Pagination()

    Creates a new instance of a Pagination.

    Declaration
    public Pagination()
    View Source

    Pagination(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

    View Source

    Pagination(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

    Fields

    View Source

    IndicatorColorProperty

    IndicatorColorProperty

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

    IndicatorCountProperty

    IndicatorCountProperty

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

    IndicatorImageUrlProperty

    The IndicatorImageUrlSelector bindable property.

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

    IndicatorSizeProperty

    The IndicatorSize bindable property.

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

    IndicatorSpacingProperty

    The IndicatorSpacing bindable property.

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

    LastIndicatorImageUrlProperty

    LastIndicatorImageUrlProperty

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

    SelectedIndexProperty

    SelectedIndexProperty

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

    SelectedIndicatorColorProperty

    SelectedIndicatorColorProperty

    Declaration
    public static readonly BindableProperty SelectedIndicatorColorProperty
    Field Value
    Type Description
    BindableProperty

    Properties

    View Source

    IndicatorColor

    Color of the indicator.

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

    IndicatorCount

    Gets or sets the count of the pages/indicators.

    Declaration
    public int IndicatorCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    IndicatorImageUrl

    Gets or sets the background resource of indicator.

    Declaration
    public Selector<string> IndicatorImageUrl { get; set; }
    Property Value
    Type Description
    Selector<string>
    View Source

    IndicatorSize

    Gets or sets the size of the indicator.

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

    IndicatorSpacing

    Gets or sets the space of the indicator.

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

    LastIndicatorImageUrl

    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
    Type Description
    Selector<string>
    View Source

    SelectedIndex

    Gets or sets the index of the select indicator.

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

    SelectedIndicatorColor

    Color of the selected indicator.

    Declaration
    public Color SelectedIndicatorColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    Style

    Return currently applied style.

    Declaration
    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
    protected override ViewStyle CreateViewStyle()
    Returns
    Type Description
    ViewStyle

    The default pagination style.

    Overrides
    Control.CreateViewStyle()
    View Source

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

    GetIndicatorPosition(int)

    Retrieves the position of a indicator by index.

    Declaration
    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

    OnInitialize()

    Overrides the parent method. This method is called by the framework when the instance is created.

    Declaration
    public override void OnInitialize()
    Overrides
    Control.OnInitialize()
    View Source

    SelectIn(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

    View Source

    SelectOut(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

    Explicit Interface Implementations

    View Source

    IAtspiValue.AccessibilityGetCurrent()

    Current value.

    Declaration
    double IAtspiValue.AccessibilityGetCurrent()
    Returns
    Type Description
    double
    View Source

    IAtspiValue.AccessibilityGetMaximum()

    Maximum value.

    Declaration
    double IAtspiValue.AccessibilityGetMaximum()
    Returns
    Type Description
    double
    View Source

    IAtspiValue.AccessibilityGetMinimum()

    Minimum value.

    Declaration
    double IAtspiValue.AccessibilityGetMinimum()
    Returns
    Type Description
    double
    View Source

    IAtspiValue.AccessibilityGetMinimumIncrement()

    Minimum increment.

    Declaration
    double IAtspiValue.AccessibilityGetMinimumIncrement()
    Returns
    Type Description
    double
    View Source

    IAtspiValue.AccessibilityGetValueText()

    Formatted current value.

    Declaration
    string IAtspiValue.AccessibilityGetValueText()
    Returns
    Type Description
    string
    View Source

    IAtspiValue.AccessibilitySetCurrent(double)

    Current value.

    Declaration
    bool IAtspiValue.AccessibilitySetCurrent(double value)
    Parameters
    Type Name Description
    double value
    Returns
    Type Description
    bool

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider
    IAtspiValue

    Extension Methods

    ViewExtensions.BackgroundColor(View)
    ViewExtensions.BorderlineColor(View)
    ViewExtensions.BoxShadow(View)
    ViewExtensions.Color(View)
    ViewExtensions.CornerRadius(View)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    ViewExtensions.BackgroundColor<T>(T, float, float, float, float)
    ViewExtensions.BackgroundColor<T>(T, uint, float)
    ViewExtensions.BackgroundColor<T>(T, UIColor)
    ViewExtensions.BackgroundImage<T>(T, string)
    ViewExtensions.Borderline<T>(T, float, UIColor, float)
    ViewExtensions.BorderlineColor<T>(T, float, float, float, float)
    ViewExtensions.BorderlineColor<T>(T, uint, float)
    ViewExtensions.BorderlineColor<T>(T, UIColor)
    ViewExtensions.BorderlineOffset<T>(T, float)
    ViewExtensions.BorderlineWidth<T>(T, float)
    ViewExtensions.BoxShadow<T>(T, float, float, float)
    ViewExtensions.BoxShadow<T>(T, float, UIColor, float, float)
    ViewExtensions.BoxShadow<T>(T, UIShadow)
    ViewExtensions.ClippingMode<T>(T, ClippingModeType)
    ViewExtensions.Color<T>(T, float, float, float, float)
    ViewExtensions.Color<T>(T, uint, float)
    ViewExtensions.Color<T>(T, UIColor)
    ViewExtensions.CornerRadius<T>(T, float, bool)
    ViewExtensions.CornerRadius<T>(T, float, float, float, float, bool)
    ViewExtensions.CornerRadius<T>(T, UICorner)
    ViewExtensions.Focusable<T>(T, bool)
    ViewExtensions.FocusableChildren<T>(T, bool)
    ViewExtensions.FocusableInTouch<T>(T, bool)
    ViewExtensions.ImageShadow<T>(T, ImageShadow)
    ViewExtensions.IsEnabled<T>(T, bool)
    ViewExtensions.Layout<T>(T, LayoutItem)
    ViewExtensions.Opacity<T>(T, float)
    ViewExtensions.Position<T>(T, float, float)
    ViewExtensions.PositionX<T>(T, float)
    ViewExtensions.PositionY<T>(T, float)
    ViewExtensions.Scale<T>(T, float, float)
    ViewExtensions.ScaleX<T>(T, float)
    ViewExtensions.ScaleY<T>(T, float)
    ViewExtensions.Sensitive<T>(T, bool)
    ViewExtensions.Size<T>(T, float, float)
    ViewExtensions.SizeHeight<T>(T, float)
    ViewExtensions.SizeWidth<T>(T, float)
    ViewExtensions.Visibility<T>(T, bool)
    ViewExtensions.VoiceInteractionName<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX