Class Slider
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
A slider lets users select a value from a continuous or discrete range of values by moving the slider thumb.
public class Slider : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlSlider
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceSlider()
The constructor of the Slider class.
Declaration
public Slider()
Properties
View SourceBgTrackColor
Gets or sets the color of the background track image object.
Declaration
public Color BgTrackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
CurrentValue
Gets or sets the current value of slider.
Declaration
public float CurrentValue { get; set; }
Property Value
Type | Description |
---|---|
float |
Direction
Gets or sets the direction type of slider.
Declaration
public Slider.DirectionType Direction { get; set; }
Property Value
Type | Description |
---|---|
Slider.DirectionType |
HighIndicatorImageURL
Gets or sets the resource url of the high indicator image object.
Declaration
public string HighIndicatorImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
HighIndicatorSize
Gets or sets the size of the high indicator object(image or text).
Declaration
public Size HighIndicatorSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
HighIndicatorTextContent
Gets or sets the text content of the high indicator text object.
Declaration
public string HighIndicatorTextContent { get; set; }
Property Value
Type | Description |
---|---|
string |
Indicator
Gets or sets the indicator type, arrow or sign.
Declaration
public Slider.IndicatorType Indicator { get; set; }
Property Value
Type | Description |
---|---|
Slider.IndicatorType |
LowIndicatorImageURL
Gets or sets the resource url of the low indicator image object.
Declaration
public string LowIndicatorImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
LowIndicatorSize
Gets or sets the size of the low indicator object(image or text).
Declaration
public Size LowIndicatorSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
LowIndicatorTextContent
Gets or sets the text content of the low indicator text object.
Declaration
public string LowIndicatorTextContent { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxValue
Gets or sets the maximum value of slider.
Declaration
public float MaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinValue
Gets or sets the minimum value of slider.
Declaration
public float MinValue { get; set; }
Property Value
Type | Description |
---|---|
float |
SlidedTrackColor
Gets or sets the color of the slided track image object.
Declaration
public Color SlidedTrackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
SpaceBetweenTrackAndIndicator
Gets or sets the value of the space between track and indicator.
Declaration
public uint SpaceBetweenTrackAndIndicator { get; set; }
Property Value
Type | Description |
---|---|
uint |
ThumbImageURL
Gets or sets the resource url of the thumb image object.
Declaration
public string ThumbImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
ThumbImageURLSelector
Gets or sets the resource url selector of the thumb image object.
Declaration
public StringSelector ThumbImageURLSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.StringSelector |
ThumbSize
Gets or sets the size of the thumb image object.
Declaration
public Size ThumbSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
TrackThickness
Gets or sets the thickness value of the track.
Declaration
public uint TrackThickness { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
View SourceDispose(DisposeTypes)
Dispose Slider.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
Events
View SourceSlidingFinishedEvent
The sliding finished event handler.
Declaration
public event EventHandler<Slider.SlidingFinishedArgs> SlidingFinishedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><Slider.SlidingFinishedArgs> |
StateChangedEvent
The state changed event handler.
Declaration
public event EventHandler<Slider.StateChangedArgs> StateChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><Slider.StateChangedArgs> |
ValueChangedEvent
The value changed event handler.
Declaration
public event EventHandler<Slider.ValueChangedArgs> ValueChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><Slider.ValueChangedArgs> |