Class ProgressBar

Namespace
Forma
Assembly
Forma.dll

Visualizes determinate or animated indeterminate progress with directional fill and optional percentage text.

public sealed class ProgressBar : Range, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
Inheritance
ProgressBar
Implements
Inherited Members

Constructors

ProgressBar()

public ProgressBar()

Properties

AccessibilityActions

public override AccessibilityActions AccessibilityActions { get; }

Property Value

AccessibilityActions

AccessibilityRole

public override AccessibilityRole AccessibilityRole { get; }

Property Value

AccessibilityRole

EditorPreviewIndeterminate

public bool EditorPreviewIndeterminate { get; set; }

Property Value

bool

FillMode

public ProgressBarFillMode FillMode { get; set; }

Property Value

ProgressBarFillMode

Font

public SpriteFont Font { get; set; }

Property Value

SpriteFont

Indeterminate

public bool Indeterminate { get; set; }

Property Value

bool

IndeterminateOffset

public float IndeterminateOffset { get; }

Property Value

float

IndeterminateSpeed

Pixels per second used by the indeterminate segment.

public float IndeterminateSpeed { get; set; }

Property Value

float

ShowPercentage

public bool ShowPercentage { get; set; }

Property Value

bool

UIFont

public UIFont UIFont { get; set; }

Property Value

UIFont

Methods

GetFillMode()

public ProgressBarFillMode GetFillMode()

Returns

ProgressBarFillMode

GetFillRectangle(float)

Returns the current local fill rectangle for determinate state.

public Rectangle GetFillRectangle(float ratio)

Parameters

ratio float

Returns

Rectangle

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2

IsEditorPreviewIndeterminateEnabled()

public bool IsEditorPreviewIndeterminateEnabled()

Returns

bool

IsIndeterminate()

public bool IsIndeterminate()

Returns

bool

IsPercentageShown()

public bool IsPercentageShown()

Returns

bool

SetEditorPreviewIndeterminate(bool)

public void SetEditorPreviewIndeterminate(bool previewIndeterminate)

Parameters

previewIndeterminate bool

SetFillMode(ProgressBarFillMode)

public void SetFillMode(ProgressBarFillMode mode)

Parameters

mode ProgressBarFillMode

SetIndeterminate(bool)

public void SetIndeterminate(bool indeterminate)

Parameters

indeterminate bool

SetShowPercentage(bool)

public void SetShowPercentage(bool visible)

Parameters

visible bool