Table of Contents

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

bool

BufferPercent

protected double BufferPercent { get; set; }

Property Value

double

BufferValue

[Parameter]
[Category("Behavior")]
public double BufferValue { get; set; }

Property Value

double

ChildContent

Child content of component.

[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Classname

protected string Classname { get; }

Property Value

string

Color

The color of the component. It supports the theme colors.

[Parameter]
[Category("Appearance")]
public Color Color { get; set; }

Property Value

Color

Indeterminate

Constantly animates, does not follow any value.

[Parameter]
[Category("Behavior")]
public bool Indeterminate { get; set; }

Property Value

bool

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

double

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

double

Rounded

If true, border-radius is set to the themes default value.

[Parameter]
[Category("Appearance")]
public bool Rounded { get; set; }

Property Value

bool

Size

The size of the component.

[Parameter]
[Category("Appearance")]
public Size Size { get; set; }

Property Value

Size

Striped

Adds stripes to the filled part of the linear progress.

[Parameter]
[Category("Appearance")]
public bool Striped { get; set; }

Property Value

bool

Value

The current value of the linear progress. Should be between min and max.

[Parameter]
[Category("Behavior")]
public double Value { get; set; }

Property Value

double

ValuePercent

protected double ValuePercent { get; set; }

Property Value

double

Vertical

If true, the progress bar will be displayed vertically.

[Parameter]
[Category("Appearance")]
public bool Vertical { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetBufferPercent()

public double GetBufferPercent()

Returns

double

GetStyledBar1Transform()

public string GetStyledBar1Transform()

Returns

string

GetStyledBar2Transform()

public string GetStyledBar2Transform()

Returns

string

GetValuePercent()

public double GetValuePercent()

Returns

double

UpdatePercentages()

protected void UpdatePercentages()