Class Scrollable

Definition

Namespace:
Tizen.NUI.BaseComponents
Assembly:
Tizen.NUI.dll

Base class for derived Scrollables that contains actors that can be scrolled manually (via touch) or automatically.

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

Constructors

View Source

Scrollable()

Create an instance of scrollable.

Declaration
C#
Copy
public Scrollable()

Properties

View Source

CanScrollHorizontal

Gets and Sets CanScrollHorizontal property.

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

CanScrollVertical

Gets and Sets CanScrollVertical property.

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

OvershootAnimationSpeed

Sets and Gets the speed of overshoot animation in pixels per second.

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

OvershootEffectColor

Sets and Gets the color of the overshoot effect.

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

OvershootEnabled

Checks if scroll overshoot has been enabled or not.

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

OvershootSize

Gets and Sets OvershootSize property.

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

ScrollPositionMax

Gets and Sets ScrollPositionMax property.

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

ScrollPositionMin

Gets and Sets ScrollPositionMin property.

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

ScrollRelativePosition

Gets and Sets ScrollRelativePosition property.

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

ScrollToAlphaFunction

Gets and Sets ScrollToAlphaFunction property.

Declaration
C#
Copy
public int ScrollToAlphaFunction { get; set; }
Property Value
Type Description
int

Methods

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

Events

View Source

ScrollCompleted

The ScrollCompleted event emitted when the Scrollable has completed movement (whether by touch or animation).

Declaration
C#
Copy
public event DaliEventHandler<object, Scrollable.CompletedEventArgs> ScrollCompleted
Event Type
Type Description
DaliEventHandler<object, Scrollable.CompletedEventArgs>
View Source

ScrollStarted

The ScrollStarted event emitted when the Scrollable has moved (whether by touch or animation).

Declaration
C#
Copy
public event DaliEventHandler<object, Scrollable.StartedEventArgs> ScrollStarted
Event Type
Type Description
DaliEventHandler<object, Scrollable.StartedEventArgs>
View Source

ScrollUpdated

The ScrollUpdated event emitted when the Scrollable has moved (whether by touch or animation).

Declaration
C#
Copy
public event DaliEventHandler<object, Scrollable.UpdatedEventArgs> ScrollUpdated
Event Type
Type Description
DaliEventHandler<object, Scrollable.UpdatedEventArgs>

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable