Table of Contents

Class MBLinearProgress

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

This is a general purpose Material Theme linear progress bar. Can be determinant or indeterminant. If determinant the value needs to be between 0 and 1.

public class MBLinearProgress : InputComponent<double>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
MBLinearProgress
Implements
Inherited Members

Constructors

MBLinearProgress()

public MBLinearProgress()

Properties

AriaLabel

Sets aria-label.

[Parameter]
public string AriaLabel { get; set; }

Property Value

string

BufferValue

Sets the buffer value (no buffer if not set).

[Parameter]
public double? BufferValue { get; set; }

Property Value

double?

LinearProgressType

Makes the progress bar indeterminant if True.

[Parameter]
public MBLinearProgressType LinearProgressType { get; set; }

Property Value

MBLinearProgressType

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnAfterRenderAsync(bool)

Material.Blazor components generally should not override this because it handles the case where components need to be adjusted when inside an MBDialog or MBCard.

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender bool

Returns

Task

OnInitializedAsync()

protected override Task OnInitializedAsync()

Returns

Task

OnParametersSetAsync()

When overriding this, call await base.OnParametersSetAsync(); before any user code unless there is a very good reason not to.

protected override Task OnParametersSetAsync()

Returns

Task