Class ScrollBar

Definition

Namespace:
Tizen.NUI.UIComponents
Assembly:
Tizen.NUI.dll
API Level:
3

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, IDisposable
Inheritance
Implements
System.IDisposable

Constructors

View Source

ScrollBar()

Creates an uninitialized scrollbar.

Declaration
C#
Copy
public ScrollBar()
API Level: 3
View Source

ScrollBar(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).

API Level: 3

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
Single
API Level: 3
View Source

IndicatorFixedHeight

The fixed height of the scroll indicator.

Declaration
C#
Copy
public float IndicatorFixedHeight { get; set; }
Property Value
Type Description
Single
API Level: 3
View Source

IndicatorHeightPolicy

The indicator height policy.

Declaration
C#
Copy
public ScrollBar.IndicatorHeightPolicyType IndicatorHeightPolicy { get; set; }
Property Value
Type Description
ScrollBar.IndicatorHeightPolicyType
API Level: 3
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
Single
API Level: 3
View Source

IndicatorMinimumHeight

The minimum height for a variable size indicator.

Declaration
C#
Copy
public float IndicatorMinimumHeight { get; set; }
Property Value
Type Description
Single
API Level: 3
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
Single
API Level: 3
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
Single
API Level: 3
View Source

ScrollDirection

The direction of the scrollbar.

Declaration
C#
Copy
public ScrollBar.Direction ScrollDirection { get; set; }
Property Value
Type Description
ScrollBar.Direction
API Level: 3
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
API Level: 3

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
API Level: 3

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<ScrollBar.PanFinishedEventArgs>
API Level: 3
View Source

ScrollInterval

This is the event emitted when the current scroll position of the scrollable content.

Declaration
C#
Copy
public event EventHandler<ScrollBar.ScrollIntervalEventArgs> ScrollInterval
Event Type
Type Description
System.EventHandler<ScrollBar.ScrollIntervalEventArgs>
API Level: 3

Implements

System.IDisposable