Class MBLinearProgress
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
BufferValue
Sets the buffer value (no buffer if not set).
[Parameter]
public double? BufferValue { get; set; }
Property Value
LinearProgressType
Makes the progress bar indeterminant if True.
[Parameter]
public MBLinearProgressType LinearProgressType { get; set; }
Property Value
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
OnInitializedAsync()
protected override Task OnInitializedAsync()
Returns
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()