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
stylesheetStylesheetThe stylesheet to use for applying the style.
styleNamestringThe 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
styleNamestringThe 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
Orientation
Gets the orientation of the progress bar, which is always horizontal.
public override Orientation Orientation { get; }
Property Value
VerticalAlignment
Gets or sets the vertical alignment of the progress bar.
public override VerticalAlignment VerticalAlignment { get; set; }