Table of Contents

Class HorizontalProgressBar

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

A progress bar control that displays progress horizontally from left to right.

public class HorizontalProgressBar : ProgressBar, IItemWithId, INotifyAttachedPropertyChanged
Inheritance
HorizontalProgressBar
Implements
Inherited Members

Constructors

HorizontalProgressBar(Stylesheet, string)

Initializes a new instance of the HorizontalProgressBar class with the specified stylesheet and style.

public HorizontalProgressBar(Stylesheet stylesheet, string styleName = "")

Parameters

stylesheet Stylesheet

The stylesheet to use for applying the style.

styleName string

The name of the style to apply. Defaults to the default stylesheet style.

HorizontalProgressBar(string)

Initializes a new instance of the HorizontalProgressBar class with the specified style.

public HorizontalProgressBar(string styleName = "")

Parameters

styleName string

The name of the style to apply. Defaults to the default stylesheet style.

Properties

HorizontalAlignment

Gets or sets the horizontal alignment of the progress bar.

public override HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

Orientation

Gets the orientation of the progress bar, which is always horizontal.

public override Orientation Orientation { get; }

Property Value

Orientation

VerticalAlignment

Gets or sets the vertical alignment of the progress bar.

public override VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment