Class RadzenProgressBar
RadzenProgressBar component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenProgressBar : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Examples
<RadzenProgressBar @bind-Value="@value" Max="200" />
Constructors
RadzenProgressBar()
RadzenProgressBar component.
Declaration
public RadzenProgressBar()
Examples
<RadzenProgressBar @bind-Value="@value" Max="200" />
Properties
Max
Determines the maximum value.
Declaration
[Parameter]
public double Max { get; set; }
Property Value
Type | Description |
---|---|
double | The maximum value. |
Min
Determines the minimum value.
Declaration
[Parameter]
public double Min { get; set; }
Property Value
Type | Description |
---|---|
double | The minimum value. |
Mode
Gets or sets the mode.
Declaration
[Parameter]
public ProgressBarMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ProgressBarMode | The mode. |
NormalizedValue
Progress in range from 0 to 1.
Declaration
protected double NormalizedValue { get; }
Property Value
Type | Description |
---|---|
double |
ProgressBarStyle
Gets or sets the progress bar style.
Declaration
[Parameter]
public ProgressBarStyle ProgressBarStyle { get; set; }
Property Value
Type | Description |
---|---|
ProgressBarStyle | The progress bar style. |
ShowValue
Gets or sets a value indicating whether value is shown.
Declaration
[Parameter]
public bool ShowValue { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Template
Gets or sets the template.
Declaration
[Parameter]
public RenderFragment Template { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment | The template. |
Unit
Gets or sets the unit.
Declaration
[Parameter]
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
string | The unit. |
Value
Gets or sets the value.
Declaration
[Parameter]
public double Value { get; set; }
Property Value
Type | Description |
---|---|
double | The value. |
ValueChanged
Gets or sets the value changed callback.
Declaration
[Parameter]
public Action<double> ValueChanged { get; set; }
Property Value
Type | Description |
---|---|
Action<double> | The value changed callback. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenProgressBar component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |