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.
public class Scrollable : View, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementScrollable
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceScrollable()
Create an instance of scrollable.
Declaration
public Scrollable()
Properties
View SourceCanScrollHorizontal
Gets and Sets CanScrollHorizontal property.
Declaration
public bool CanScrollHorizontal { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanScrollVertical
Gets and Sets CanScrollVertical property.
Declaration
public bool CanScrollVertical { get; set; }
Property Value
Type | Description |
---|---|
bool |
OvershootAnimationSpeed
Sets and Gets the speed of overshoot animation in pixels per second.
Declaration
public float OvershootAnimationSpeed { get; set; }
Property Value
Type | Description |
---|---|
float |
OvershootEffectColor
Sets and Gets the color of the overshoot effect.
Declaration
public Vector4 OvershootEffectColor { get; set; }
Property Value
Type | Description |
---|---|
Vector4 |
OvershootEnabled
Checks if scroll overshoot has been enabled or not.
Declaration
public bool OvershootEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
OvershootSize
Gets and Sets OvershootSize property.
Declaration
public Vector2 OvershootSize { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
ScrollPositionMax
Gets and Sets ScrollPositionMax property.
Declaration
public Vector2 ScrollPositionMax { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
ScrollPositionMin
Gets and Sets ScrollPositionMin property.
Declaration
public Vector2 ScrollPositionMin { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
ScrollRelativePosition
Gets and Sets ScrollRelativePosition property.
Declaration
public Vector2 ScrollRelativePosition { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
ScrollToAlphaFunction
Gets and Sets ScrollToAlphaFunction property.
Declaration
public int ScrollToAlphaFunction { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceDispose(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
Events
View SourceScrollCompleted
The ScrollCompleted event emitted when the Scrollable has completed movement (whether by touch or animation).
Declaration
public event DaliEventHandler<object, Scrollable.CompletedEventArgs> ScrollCompleted
Event Type
Type | Description |
---|---|
DaliEventHandler<object, Scrollable.CompletedEventArgs> |
ScrollStarted
The ScrollStarted event emitted when the Scrollable has moved (whether by touch or animation).
Declaration
public event DaliEventHandler<object, Scrollable.StartedEventArgs> ScrollStarted
Event Type
Type | Description |
---|---|
DaliEventHandler<object, Scrollable.StartedEventArgs> |
ScrollUpdated
The ScrollUpdated event emitted when the Scrollable has moved (whether by touch or animation).
Declaration
public event DaliEventHandler<object, Scrollable.UpdatedEventArgs> ScrollUpdated
Event Type
Type | Description |
---|---|
DaliEventHandler<object, Scrollable.UpdatedEventArgs> |