Table of Contents

Class ProgressBar

Namespace
PluginUI
Assembly
PluginUI.dll

Progress indicator: determinate (0..1 with optional percentage text) or indeterminate (animated sweep). Useful for preset loading, sample analysis or license activation.

public class ProgressBar : Control
Inheritance
ProgressBar
Inherited Members

Constructors

ProgressBar()

Creates a progress bar.

public ProgressBar()

Properties

DefaultSize

Natural size used when no explicit size is given.

protected override Size DefaultSize { get; }

Property Value

Size

IsIndeterminate

Animated sweep instead of a known progress.

public bool IsIndeterminate { get; set; }

Property Value

bool

Orientation

Bar orientation.

public Orientation Orientation { get; set; }

Property Value

Orientation

ShowText

Shows the percentage (determinate mode).

public bool ShowText { get; set; }

Property Value

bool

Value

Progress 0..1.

public double Value { get; set; }

Property Value

double

Methods

OnAttached()

Called when the element joins a host (subscribe to external events here).

protected override void OnAttached()

OnDetached()

Called when the element leaves its host (unsubscribe here).

protected override void OnDetached()

RenderVector(DrawingContext, Rect, VectorStyle)

Vector rendering of the widget area.

protected override void RenderVector(DrawingContext dc, Rect widget, VectorStyle style)

Parameters

dc DrawingContext
widget Rect
style VectorStyle