Class ProgressBarStyle
- Namespace
- Myra.Graphics2D.UI.Styles
- Assembly
- Myra.dll
Style class that defines the visual appearance of progress bar widgets.
public class ProgressBarStyle : WidgetStyle
- Inheritance
-
ProgressBarStyle
- Inherited Members
Constructors
ProgressBarStyle()
Initializes a new instance of the ProgressBarStyle class.
public ProgressBarStyle()
ProgressBarStyle(ProgressBarStyle)
Initializes a new instance of the ProgressBarStyle class by copying properties from another style.
public ProgressBarStyle(ProgressBarStyle style)
Parameters
styleProgressBarStyleThe source progress bar style to copy from.
Properties
Filler
Gets or sets the brush used to fill the progress bar based on its current value.
public IBrush Filler { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this progress bar style.
public override WidgetStyle Clone()
Returns
- WidgetStyle
A new ProgressBarStyle instance with the same properties.