Class MBSlider
A Material Theme single-thumb slider.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBSlider : InputComponent<decimal>, IDisposable
Properties
| Improve this Doc View SourceAriaLabel
Value for the "aria-label" tag.
Declaration
public string AriaLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
ContinuousInputDelay
For continuous input sets the debounce/throttle delay.
Declaration
public uint ContinuousInputDelay { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
DecimalPlaces
Number of decimal places for rounding and displaying values.
Declaration
public uint DecimalPlaces { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
EventType
Specifies how slider events are emitted, see MBInputEventType.
Declaration
public MBInputEventType EventType { get; set; }
Property Value
Type | Description |
---|---|
MBInputEventType |
NumSteps
The number of steps for a discrete slider. Note that ten steps will yield eleven thumb positions/tickmarks.
Declaration
public int NumSteps { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
SliderType
The type of slider - defaults to Continuous.
Declaration
public MBSliderType SliderType { get; set; }
Property Value
Type | Description |
---|---|
MBSliderType |
ValueMax
The maximum slider value.
Declaration
public decimal ValueMax { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
ValueMin
The minimum slider value.
Declaration
public decimal ValueMin { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
Overrides
| Improve this Doc View SourceNotifyChanged(Decimal)
For Material Theme to notify of slider value changes via JS Interop.
Declaration
public void NotifyChanged(decimal value)
Parameters
Type | Name | Description |
---|---|---|
Decimal | value |
OnDisabledSetCallback()
Callback for value the Disabled value setter.
Declaration
protected void OnDisabledSetCallback()
OnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.Decimal>.OnInitializedAsync()
|
Improve this Doc
View Source
OnValueSetCallback()
Callback for value the value setter.
Declaration
protected void OnValueSetCallback()