Class Slider

Definition

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

The slider is a control to enable sliding an indicator between two values.

C#
Copy
public class Slider : View, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Slider
Implements
System.IDisposable

Constructors

View Source

Slider()

Creates the slider control.

Declaration
C#
Copy
public Slider()
API Level: 3

Properties

View Source

DisabledColor

The disable color property.

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

HandleVisual

The handle visual property.

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

LowerBound

The lower bound property.

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

Marks

The marks property.

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

MarkTolerance

The mark tolerance property.

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

PopupArrowVisual

The popup arrow visual property.

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

PopupVisual

The popup visual property.

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

ProgressVisual

The progress visual property.

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

ShowPopup

The show popup property.

Declaration
C#
Copy
public bool ShowPopup { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

ShowValue

The show value property.

Declaration
C#
Copy
public bool ShowValue { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

SnapToMarks

The snap to marks property.

Declaration
C#
Copy
public bool SnapToMarks { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

TrackVisual

The track visual property.

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

UpperBound

The upper bound property.

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

Value

The value property.

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

ValuePrecision

The value precision property.

Declaration
C#
Copy
public int ValuePrecision { get; set; }
Property Value
Type Description
System.Int32
API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3
View Source

DownCast(BaseHandle)

Downcasts an object handle to the slider.
If the handle points to a slider, then the downcast produces a valid handle.
If not, then the returned handle is left uninitialized.

Declaration
C#
Copy
public static Slider DownCast(BaseHandle handle)
Parameters
Type Name Description
BaseHandle handle

The handle to an object.

Returns
Type Description
Slider

The handle to a slider or an uninitialized handle.

API Level: 3

Events

View Source

MarkReached

An event emitted when the slider handle reaches a mark.

Declaration
C#
Copy
public event EventHandlerWithReturnType<object, Slider.MarkReachedEventArgs, bool> MarkReached
Event Type
Type Description
EventHandlerWithReturnType<Object, Slider.MarkReachedEventArgs, Boolean>
API Level: 3
View Source

SlidingFinished

An event emitted when the sliding is finished.

Declaration
C#
Copy
public event EventHandlerWithReturnType<object, Slider.SlidingFinishedEventArgs, bool> SlidingFinished
Event Type
Type Description
EventHandlerWithReturnType<Object, Slider.SlidingFinishedEventArgs, Boolean>
API Level: 3
View Source

ValueChanged

An event emitted when the slider value changes.

Declaration
C#
Copy
public event EventHandlerWithReturnType<object, Slider.ValueChangedEventArgs, bool> ValueChanged
Event Type
Type Description
EventHandlerWithReturnType<Object, Slider.ValueChangedEventArgs, Boolean>
API Level: 3

Implements

System.IDisposable