Class Progress
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
The Progress class of nui component. It's used to show the ongoing status with a long narrow bar.
public class Progress : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlProgress
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceProgress()
The constructor of Progress
Declaration
public Progress()
Progress(string)
The constructor of the Progress class with specific style.
Declaration
public Progress(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | style name |
Progress(ProgressStyle)
The constructor of the Progress class with specific style.
Declaration
public Progress(ProgressStyle progressStyle)
Parameters
Type | Name | Description |
---|---|---|
ProgressStyle | progressStyle | The style object to initialize the Progress. |
Properties
View SourceBufferColor
The property to get/set Buffer object color of the Progress.
Declaration
public Color BufferColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BufferImageURL
The property to get/set Buffer object image resource URL of the Progress.
Declaration
public string BufferImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
BufferValue
The property to get/set the buffer value of the Progress.
Declaration
public float BufferValue { get; set; }
Property Value
Type | Description |
---|---|
float |
CurrentValue
The property to get/set the current value of the Progress.
Declaration
public float CurrentValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxValue
The property to get/set the maximum value of the Progress.
Declaration
public float MaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinValue
The property to get/set the minim value of the Progress.
Declaration
public float MinValue { get; set; }
Property Value
Type | Description |
---|---|
float |
ProgressColor
The property to get/set Progress object color of the Progress.
Declaration
public Color ProgressColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ProgressImageURL
The property to get/set Progress object image URL of the Progress.
Declaration
public string ProgressImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
ProgressState
Gets or sets state of progress.
Declaration
public Progress.ProgressStatusType ProgressState { get; set; }
Property Value
Type | Description |
---|---|
Progress.ProgressStatusType |
Style
Get style of progress.
Declaration
public ProgressStyle Style { get; }
Property Value
Type | Description |
---|---|
ProgressStyle |
TrackColor
The property to get/set Track object color of the Progress.
Declaration
public Color TrackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TrackImageURL
The property to get/set Track image object URL of the Progress.
Declaration
public string TrackImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceChangeImageState(ProgressStatusType)
Change Image status
Declaration
protected void ChangeImageState(Progress.ProgressStatusType statusType)
Parameters
Type | Name | Description |
---|---|---|
Progress.ProgressStatusType | statusType | New status type |
CreateViewStyle()
Get Progress style.
Declaration
protected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
Tizen.NUI.BaseComponents.ViewStyle | The default progress style. |
Overrides
Dispose(DisposeTypes)
Dispose Progress and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |