Class MudProgressLinear
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudProgressLinear : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudProgressLinear
- Implements
- Inherited Members
- Extension Methods
Constructors
MudProgressLinear()
public MudProgressLinear()
Properties
Buffer
If true, the buffer value will be used.
[Parameter]
[Category("Behavior")]
public bool Buffer { get; set; }
Property Value
BufferPercent
protected double BufferPercent { get; set; }
Property Value
BufferValue
[Parameter]
[Category("Behavior")]
public double BufferValue { get; set; }
Property Value
ChildContent
Child content of component.
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Color
The color of the component. It supports the theme colors.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
Indeterminate
Constantly animates, does not follow any value.
[Parameter]
[Category("Behavior")]
public bool Indeterminate { get; set; }
Property Value
Max
The maximum allowed value of the linear progress. Should not be equal to min.
[Parameter]
[Category("Behavior")]
public double Max { get; set; }
Property Value
Min
The minimum allowed value of the linear progress. Should not be equal to max.
[Parameter]
[Category("Behavior")]
public double Min { get; set; }
Property Value
Rounded
If true, border-radius is set to the themes default value.
[Parameter]
[Category("Appearance")]
public bool Rounded { get; set; }
Property Value
Size
The size of the component.
[Parameter]
[Category("Appearance")]
public Size Size { get; set; }
Property Value
Striped
Adds stripes to the filled part of the linear progress.
[Parameter]
[Category("Appearance")]
public bool Striped { get; set; }
Property Value
Value
The current value of the linear progress. Should be between min and max.
[Parameter]
[Category("Behavior")]
public double Value { get; set; }
Property Value
ValuePercent
protected double ValuePercent { get; set; }
Property Value
Vertical
If true, the progress bar will be displayed vertically.
[Parameter]
[Category("Appearance")]
public bool Vertical { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetBufferPercent()
public double GetBufferPercent()
Returns
GetStyledBar1Transform()
public string GetStyledBar1Transform()
Returns
GetStyledBar2Transform()
public string GetStyledBar2Transform()
Returns
GetValuePercent()
public double GetValuePercent()
Returns
UpdatePercentages()
protected void UpdatePercentages()