Class Progress

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
6

The Progress class is used to show the ongoing status with a long narrow bar.

C#
Copy
public class Progress : Control, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider, IAtspiValue
Inheritance
Implements

Constructors

View Source

Progress()

The constructor of Progress

Declaration
C#
Copy
public Progress()
API Level: 6
View Source

Progress(String)

The constructor of the Progress class with specific style.

Declaration
C#
Copy
public Progress(string style)
Parameters
Type Name Description
String style

style name

API Level: 8
View Source

Progress(ProgressStyle)

The constructor of the Progress class with specific style.

Declaration
C#
Copy
public Progress(ProgressStyle progressStyle)
Parameters
Type Name Description
ProgressStyle progressStyle

The style object to initialize the Progress.

API Level: 8

Fields

View Source

BufferColorProperty

BufferColorProperty

Declaration
C#
Copy
public static readonly BindableProperty BufferColorProperty
Field Value
Type Description
BindableProperty
View Source

BufferImageURLProperty

BufferImageURLProperty

Declaration
C#
Copy
public static readonly BindableProperty BufferImageURLProperty
Field Value
Type Description
BindableProperty
View Source

BufferValueProperty

BufferValueProperty

Declaration
C#
Copy
public static readonly BindableProperty BufferValueProperty
Field Value
Type Description
BindableProperty
View Source

CurrentValueProperty

CurrentValueProperty

Declaration
C#
Copy
public static readonly BindableProperty CurrentValueProperty
Field Value
Type Description
BindableProperty
View Source

IndeterminateImageUrlProperty

IndeterminateImageUrlProperty

Declaration
C#
Copy
public static readonly BindableProperty IndeterminateImageUrlProperty
Field Value
Type Description
BindableProperty
View Source

MaxValueProperty

MaxValueProperty

Declaration
C#
Copy
public static readonly BindableProperty MaxValueProperty
Field Value
Type Description
BindableProperty
View Source

MinValueProperty

MinValueProperty

Declaration
C#
Copy
public static readonly BindableProperty MinValueProperty
Field Value
Type Description
BindableProperty
View Source

ProgressColorProperty

ProgressColorProperty

Declaration
C#
Copy
public static readonly BindableProperty ProgressColorProperty
Field Value
Type Description
BindableProperty
View Source

ProgressImageURLProperty

ProgressImageURLProperty

Declaration
C#
Copy
public static readonly BindableProperty ProgressImageURLProperty
Field Value
Type Description
BindableProperty
View Source

ProgressStateProperty

ProgressStateProperty

Declaration
C#
Copy
public static readonly BindableProperty ProgressStateProperty
Field Value
Type Description
BindableProperty
View Source

TrackColorProperty

TrackColorProperty

Declaration
C#
Copy
public static readonly BindableProperty TrackColorProperty
Field Value
Type Description
BindableProperty
View Source

TrackImageURLProperty

TrackImageURLProperty

Declaration
C#
Copy
public static readonly BindableProperty TrackImageURLProperty
Field Value
Type Description
BindableProperty

Properties

View Source

BufferColor

The property to get/set Buffer object color of the Progress.

Declaration
C#
Copy
public Color BufferColor { get; set; }
Property Value
Type Description
Color
API Level: 6
View Source

BufferImageURL

The property to get/set Buffer object image resource URL of the Progress.

Declaration
C#
Copy
public string BufferImageURL { get; set; }
Property Value
Type Description
String
API Level: 6
View Source

BufferValue

The property to get/set the buffer value of the Progress.

Declaration
C#
Copy
public float BufferValue { get; set; }
Property Value
Type Description
Single
API Level: 6
View Source

CurrentValue

The property to get/set the current value of the Progress.

Declaration
C#
Copy
public float CurrentValue { get; set; }
Property Value
Type Description
Single
API Level: 6
View Source

IndeterminateImageUrl

The property to get/set the indeterminate image.

Declaration
C#
Copy
public string IndeterminateImageUrl { get; set; }
Property Value
Type Description
String
API Level: 9
View Source

MaxValue

The property to get/set the maximum value of the Progress.

Declaration
C#
Copy
public float MaxValue { get; set; }
Property Value
Type Description
Single
API Level: 6
View Source

MinValue

The property to get/set the minim value of the Progress.

Declaration
C#
Copy
public float MinValue { get; set; }
Property Value
Type Description
Single
API Level: 6
View Source

ProgressColor

The property to get/set Progress object color of the Progress.

Declaration
C#
Copy
public Color ProgressColor { get; set; }
Property Value
Type Description
Color
API Level: 6
View Source

ProgressImageURL

The property to get/set Progress object image URL of the Progress.

Declaration
C#
Copy
public string ProgressImageURL { get; set; }
Property Value
Type Description
String
API Level: 6
View Source

ProgressState

Gets or sets state of progress.

Declaration
C#
Copy
public Progress.ProgressStatusType ProgressState { get; set; }
Property Value
Type Description
Progress.ProgressStatusType
API Level: 6
View Source

Style

Return currently applied style.

Declaration
C#
Copy
public ProgressStyle Style { get; }
Property Value
Type Description
ProgressStyle
Remarks

Modifying contents in style may cause unexpected behaviour.

API Level: 8
View Source

TrackColor

The property to get/set Track object color of the Progress.

Declaration
C#
Copy
public Color TrackColor { get; set; }
Property Value
Type Description
Color
API Level: 6
View Source

TrackImageURL

The property to get/set Track image object URL of the Progress.

Declaration
C#
Copy
public string TrackImageURL { get; set; }
Property Value
Type Description
String
API Level: 6

Methods

View Source

ApplyStyle(ViewStyle)

Apply style instance to the view. Basically it sets the bindable property to the value of the bindable property with same name in the style.

Declaration
C#
Copy
public override void ApplyStyle(ViewStyle style)
Parameters
Type Name Description
ViewStyle style
Overrides
View Source

ChangeImageState(Progress.ProgressStatusType)

Change Image status

Declaration
C#
Copy
protected void ChangeImageState(Progress.ProgressStatusType statusType)
Parameters
Type Name Description
Progress.ProgressStatusType statusType

New status type

API Level: 6
View Source

CreateViewStyle()

Get Progress style.

Declaration
C#
Copy
protected override ViewStyle CreateViewStyle()
Returns
Type Description
ViewStyle

The default progress style.

Overrides
API Level: 8
View Source

Dispose(DisposeTypes)

Dispose Progress and all children on it.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
API Level: 6
View Source

OnEnabled(Boolean)

Internal callback of enabled property changes. Inherited view can override this method to implements enabled property changes.

Declaration
C#
Copy
protected override void OnEnabled(bool enabled)
Parameters
Type Name Description
Boolean enabled
Overrides
View Source

OnInitialize()

Overrides the parent method.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
View Source

OnRelayout(Vector2, RelayoutContainer)

Called after the size negotiation has been finished for this control.
The control is expected to assign this given size to itself or its children.
Should be overridden by derived classes if they need to layout views differently after certain operations like add or remove views, resize, or after changing specific properties.
As this function is called from inside the size negotiation algorithm, you cannot call RequestRelayout (the call would just be ignored).

Declaration
C#
Copy
public override void OnRelayout(Vector2 size, RelayoutContainer container)
Parameters
Type Name Description
Vector2 size

The allocated size.

RelayoutContainer container

The control should add views to this container that it is not able to allocate a size for.

Overrides

Explicit Interface Implementations

View Source

IAtspiValue.AccessibilityGetCurrent()

Gets the current value for Accessibility.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetCurrent()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMaximum()

Gets maximum value for Accessibility.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMaximum()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMinimum()

Gets minimum value for Accessibility.

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMinimum()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetMinimumIncrement()

Declaration
C#
Copy
double IAtspiValue.AccessibilityGetMinimumIncrement()
Returns
Type Description
Double
View Source

IAtspiValue.AccessibilityGetValueText()

Formatted current value.

Declaration
C#
Copy
string IAtspiValue.AccessibilityGetValueText()
Returns
Type Description
String
View Source

IAtspiValue.AccessibilitySetCurrent(Double)

Declaration
C#
Copy
bool IAtspiValue.AccessibilitySetCurrent(double value)
Parameters
Type Name Description
Double value
Returns
Type Description
Boolean

Implements

Extension Methods