Class CircularSlider
Definition
- Assembly:
- Tizen.NUI.Wearable.dll
The CircularSlider class of Wearable is used to let users select a value from a continuous or discrete range of values by moving the slider thumb. CircularSlider shows the current value with the length of the line.
public class CircularSlider : Control, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
-
objectCircularSlider
- Implements
-
System.IDisposable
Constructors
View SourceCircularSlider()
The constructor of CircularSlider.
Declaration
public CircularSlider()
CircularSlider(CircularSliderStyle)
The constructor of the CircularSlider class with specific style.
Declaration
public CircularSlider(CircularSliderStyle progressStyle)
Parameters
Type | Name | Description |
---|---|---|
CircularSliderStyle | progressStyle | The style object to initialize the CircularSlider. |
Fields
View SourceCurrentValueProperty
Bindable property of CurrentValue
Declaration
public static readonly BindableProperty CurrentValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IsEnabledProperty
Bindable property of IsEnabled
Declaration
public static readonly BindableProperty IsEnabledProperty
Field Value
Type | Description |
---|---|
BindableProperty |
MaxValueProperty
Bindable property of MaxValue
Declaration
public static readonly BindableProperty MaxValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
MinValueProperty
Bindable property of MinValue
Declaration
public static readonly BindableProperty MinValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ProgressColorProperty
Bindable property of ProgressColor
Declaration
public static readonly BindableProperty ProgressColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ThicknessProperty
Bindable property of Thickness
Declaration
public static readonly BindableProperty ThicknessProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ThumbColorProperty
Bindable property of ThumbColor
Declaration
public static readonly BindableProperty ThumbColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ThumbSizeProperty
Bindable property of ThumbSize
Declaration
public static readonly BindableProperty ThumbSizeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TrackColorProperty
Bindable property of TrackColor
Declaration
public static readonly BindableProperty TrackColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
View SourceCurrentValue
The property to get/set the current value of the CircularSlider. The default value is 0.
Declaration
public float CurrentValue { get; set; }
Property Value
Type | Description |
---|---|
float |
IsEnabled
Flag to be enabled or disabled in CircularSlider.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxValue
The property to get/set the maximum value of the CircularSlider. The default value is 100.
Declaration
public float MaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinValue
The property to get/set the minimum value of the CircularSlider. The default value is 0.
Declaration
public float MinValue { get; set; }
Property Value
Type | Description |
---|---|
float |
ProgressColor
The property to get/set Progress object color of the CircularSlider.
Declaration
public Color ProgressColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Thickness
The thickness of the track and progress.
Declaration
public float Thickness { get; set; }
Property Value
Type | Description |
---|---|
float |
ThumbColor
The property to get/set Thumb object color of the CircularSlider.
Declaration
public Color ThumbColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ThumbSize
Gets or sets the size of the thumb of Slider.
Declaration
public Size ThumbSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
TrackColor
The property to get/set Track object color of the CircularSlider.
Declaration
public Color TrackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Methods
View SourceCreateViewStyle()
Get Progress style.
Declaration
protected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
ViewStyle | The default progress style. |
Overrides
View SourceDispose(DisposeTypes)
Dispose Progress and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
View SourceUpdateValue()
Update progress value
Declaration
protected virtual void UpdateValue()
Events
View SourceValueChanged
The value changed event handler.
Declaration
public event EventHandler<CircularSliderValueChangedEventArgs> ValueChanged
Event Type
Type | Description |
---|---|
EventHandler<><CircularSliderValueChangedEventArgs> |