Skip to main content

ProgressBar Class

Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI

No description available.

public class ProgressBar : Image, IDisposable

Constructors

ProgressBar()

public ProgressBar() : base()

No description available.

Properties

Direction

public Direction Direction { get; set; }

The new direction of the hat switch. (inherited)

MaxValue

public int MaxValue { get; set; }

Largest raw value accepted by Write(int, int). (inherited)

Value

public int Value { get; set; }

Current needle position. Only this property doesn't dirty the background — the pointer is repainted every frame. (inherited)

Alpha

public ushort Alpha { get; set; }

No description available.

RadiusBorder

public int RadiusBorder { get; set; }

Corner radius in pixels for the Scale9Image-rendered bar.

Border

public int Border { get; set; }

Legacy alias for RadiusBorder. Will be removed.

Methods

OnRender(DrawingContext dc)

public override void OnRender(DrawingContext dc)

Renders the DataGrid onto it's parent container's graphics. (inherited)

ParameterTypeDescription
dcDrawingContext

Dispose()

public void Dispose()

Releases buffered memory (the unmanaged firmware/application buffers). (inherited)

Dispose(bool disposing)

protected virtual void Dispose(bool disposing)

Closes a response stream, if present. (inherited)

ParameterTypeDescription
disposingboolNot used.