Class Slider
Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
The slider is a control to enable sliding an indicator between two values.
public class Slider : View, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementSlider
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceSlider()
Creates the slider control.
Declaration
public Slider()
Properties
View SourceDisabledColor
The disable color property.
Declaration
public Vector4 DisabledColor { get; set; }
Property Value
Type | Description |
---|---|
Vector4 |
HandleVisual
The handle visual property.
Declaration
public PropertyMap HandleVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
LowerBound
The lower bound property.
Declaration
public float LowerBound { get; set; }
Property Value
Type | Description |
---|---|
float |
Marks
The marks property.
Declaration
public PropertyArray Marks { get; set; }
Property Value
Type | Description |
---|---|
PropertyArray |
MarkTolerance
The mark tolerance property.
Declaration
public float MarkTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
PopupArrowVisual
The popup arrow visual property.
Declaration
public PropertyMap PopupArrowVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
PopupVisual
The popup visual property.
Declaration
public PropertyMap PopupVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
ProgressVisual
The progress visual property.
Declaration
public PropertyMap ProgressVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
ShowPopup
The show popup property.
Declaration
public bool ShowPopup { get; set; }
Property Value
Type | Description |
---|---|
bool |
ShowValue
The show value property.
Declaration
public bool ShowValue { get; set; }
Property Value
Type | Description |
---|---|
bool |
SnapToMarks
The snap to marks property.
Declaration
public bool SnapToMarks { get; set; }
Property Value
Type | Description |
---|---|
bool |
TrackVisual
The track visual property.
Declaration
public PropertyMap TrackVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
UpperBound
The upper bound property.
Declaration
public float UpperBound { get; set; }
Property Value
Type | Description |
---|---|
float |
Value
The value property.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
float |
ValuePrecision
The value precision property.
Declaration
public int ValuePrecision { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
View SourceDownCast(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
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. |
Events
View SourceMarkReached
An event emitted when the slider handle reaches a mark.
Declaration
public event EventHandlerWithReturnType<object, Slider.MarkReachedEventArgs, bool> MarkReached
Event Type
Type | Description |
---|---|
EventHandlerWithReturnType<object, Slider.MarkReachedEventArgs, bool> |
SlidingFinished
An event emitted when the sliding is finished.
Declaration
public event EventHandlerWithReturnType<object, Slider.SlidingFinishedEventArgs, bool> SlidingFinished
Event Type
Type | Description |
---|---|
EventHandlerWithReturnType<object, Slider.SlidingFinishedEventArgs, bool> |
ValueChanged
An event emitted when the slider value changes.
Declaration
public event EventHandlerWithReturnType<object, Slider.ValueChangedEventArgs, bool> ValueChanged
Event Type
Type | Description |
---|---|
EventHandlerWithReturnType<object, Slider.ValueChangedEventArgs, bool> |