Class ProgressBar
Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
The ProgressBar is a control to give the user an indication of the progress of an operation.
public class ProgressBar : View, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceProgressBar()
Creates the ProgressBar.
Declaration
public ProgressBar()
Properties
View SourceIndeterminate
Sets the progress bar as \e indeterminate state.
Declaration
public bool Indeterminate { get; set; }
Property Value
Type | Description |
---|---|
bool |
IndeterminateVisual
The indeterminate visual of the progress bar.
Optional. If not supplied, then the default indeterminate visual will be shown.
Declaration
public PropertyMap IndeterminateVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
IndeterminateVisualAnimation
The transition data for the indeterminate visual animation.
Optional. If not supplied, then the default animation will be played.
Declaration
public PropertyArray IndeterminateVisualAnimation { get; set; }
Property Value
Type | Description |
---|---|
PropertyArray |
LabelVisual
The label visual of the progress bar.
Declaration
public PropertyMap LabelVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
ProgressValue
The progress value of the progress bar, the progress runs from 0 to 1.
If the value is set to 0, then the progress bar will be set to beginning.
If the value is set to 1, then the progress bar will be set to end.
Any value outside the range is ignored.
Declaration
public float ProgressValue { get; set; }
Property Value
Type | Description |
---|---|
float |
ProgressVisual
The progress visual value of the progress bar, the size of the progress visual is changed based on the PROGRESS_VALUE.
Optional. If not supplied, then the default progress visual will be shown.
Declaration
public PropertyMap ProgressVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
SecondaryProgressValue
The secondary progress value of the progress bar, the secondary progress runs from 0 to 1.
Optional. If not supplied, the default is 0.
If the value is set to 0, then the progress bar will be set secondary progress to beginning.
If the value is set to 1, then the progress bar will be set secondary progress to end.
Any value outside of the range is ignored.
Declaration
public float SecondaryProgressValue { get; set; }
Property Value
Type | Description |
---|---|
float |
SecondaryProgressVisual
The secondary progress visual of the progress bar, the size of the secondary progress visual is changed based on the SECONDARY_PROGRESS_VALUE.
Optional. If not supplied, then the secondary progress visual will not be shown.
Declaration
public PropertyMap SecondaryProgressVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
TrackVisual
The track visual value of progress bar, it's full progress area, and it's shown behind the PROGRESS_VISUAL.
Optional. If not supplied, the default track visual will be shown.
Declaration
public PropertyMap TrackVisual { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
Methods
View SourceDispose(DisposeTypes)
To dispose the ProgressBar instance.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Events
View SourceValueChanged
The event is sent when the ProgressBar value changes.
Declaration
public event EventHandler<ProgressBar.ValueChangedEventArgs> ValueChanged
Event Type
Type | Description |
---|---|
EventHandler<><ValueChangedEventArgs> |