Class MBSwitch
This is a general purpose Material Theme switch.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBSwitch : InputComponent<bool>, IDisposable
Properties
| Improve this Doc View SourceLabel
The switch's label
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceOnDisabledSetCallback()
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.Boolean>.OnInitializedAsync()
|
Improve this Doc
View Source
OnValueSetCallback()
Callback for value the value setter.
Declaration
protected void OnValueSetCallback()