Class ScrollBar

    Definition

    Namespace:
    Tizen.NUI.UIComponents
    Assembly:
    Tizen.NUI.dll

    The ScrollBar is a UI component that can be linked to the scrollable objects indicating the current scroll position of the scrollable object.

    public class ScrollBar : View, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    Tizen.NUI.Binding.BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ScrollBar
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    ScrollBar()

    Creates an uninitialized scrollbar.

    Declaration
    public ScrollBar()
    View Source

    ScrollBar(Direction)

    Creates an initialized scrollbar.

    Declaration
    public ScrollBar(ScrollBar.Direction direction)
    Parameters
    Type Name Description
    ScrollBar.Direction direction

    The direction of the scrollbar (either vertically or horizontally).

    Properties

    View Source

    IndicatorEndPadding

    The padding at the end of the indicator. For example, the bottom if the scrollDirection is vertical.

    Declaration
    public float IndicatorEndPadding { get; set; }
    Property Value
    Type Description
    float
    View Source

    IndicatorFixedHeight

    The fixed height of the scroll indicator.

    Declaration
    public float IndicatorFixedHeight { get; set; }
    Property Value
    Type Description
    float
    View Source

    IndicatorHeightPolicy

    The indicator height policy.

    Declaration
    public ScrollBar.IndicatorHeightPolicyType IndicatorHeightPolicy { get; set; }
    Property Value
    Type Description
    ScrollBar.IndicatorHeightPolicyType
    View Source

    IndicatorHideDuration

    The duration in seconds for the scroll indicator to become fully invisible.

    Declaration
    public float IndicatorHideDuration { get; set; }
    Property Value
    Type Description
    float
    View Source

    IndicatorMinimumHeight

    The minimum height for a variable size indicator.

    Declaration
    public float IndicatorMinimumHeight { get; set; }
    Property Value
    Type Description
    float
    View Source

    IndicatorShowDuration

    The duration in seconds for the scroll indicator to become fully visible.

    Declaration
    public float IndicatorShowDuration { get; set; }
    Property Value
    Type Description
    float
    View Source

    IndicatorStartPadding

    The padding at the start of the indicator. For example, the top if the scrollDirection is vertical.

    Declaration
    public float IndicatorStartPadding { get; set; }
    Property Value
    Type Description
    float
    View Source

    ScrollDirection

    The direction of the scrollbar.

    Declaration
    public ScrollBar.Direction ScrollDirection { get; set; }
    Property Value
    Type Description
    ScrollBar.Direction
    View Source

    ScrollPositionIntervals

    The list of values to get the notification when the current scroll position of the scrollable object goes above or below any of these values.

    Declaration
    public PropertyArray ScrollPositionIntervals { get; set; }
    Property Value
    Type Description
    PropertyArray

    Methods

    View Source

    Dispose(DisposeTypes)

    To dispose the ScrollBar instance.

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    View.Dispose(DisposeTypes)

    Events

    View Source

    PanFinished

    The event emitted when panning is finished on the scroll indicator.

    Declaration
    public event EventHandler<ScrollBar.PanFinishedEventArgs> PanFinished
    Event Type
    Type Description
    System.EventHandler<TEventArgs><ScrollBar.PanFinishedEventArgs>
    Remarks

    Event only emitted when the source of the scroll position properties are set.

    View Source

    ScrollInterval

    This is the event emitted when the current scroll position of the scrollable content goes above or below the values specified by ScrollPositionIntervals property.

    Declaration
    public event EventHandler<ScrollBar.ScrollIntervalEventArgs> ScrollInterval
    Event Type
    Type Description
    System.EventHandler<TEventArgs><ScrollBar.ScrollIntervalEventArgs>
    Remarks

    Event only emitted when the source of the scroll position properties are set.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX