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.

C#
Copy
public class ScrollBar : View, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
ScrollBar
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

ScrollBar()

Creates an uninitialized scrollbar.

Declaration
C#
Copy
public ScrollBar()
View Source

ScrollBar(Direction)

Creates an initialized scrollbar.

Declaration
C#
Copy
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
C#
Copy
public float IndicatorEndPadding { get; set; }
Property Value
Type Description
float
View Source

IndicatorFixedHeight

The fixed height of the scroll indicator.

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

IndicatorHeightPolicy

The indicator height policy.

Declaration
C#
Copy
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
C#
Copy
public float IndicatorHideDuration { get; set; }
Property Value
Type Description
float
View Source

IndicatorMinimumHeight

The minimum height for a variable size indicator.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
public float IndicatorStartPadding { get; set; }
Property Value
Type Description
float
View Source

ScrollDirection

The direction of the scrollbar.

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

Methods

View Source

Dispose(DisposeTypes)

To dispose the ScrollBar instance.

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

Events

View Source

PanFinished

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

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