Class MBCheckbox
This is a general purpose Material Theme check box accepting a boolean as a bound value. This check box does not implement indeteriminate state.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBCheckbox : InputComponent<bool>, IDisposable
Properties
| Improve this Doc View SourceDensity
The checkbox's density.
Declaration
public MBDensity? Density { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBDensity> |
IsIndeterminate
Set to True if the checkbox is indeterminate.
Declaration
public bool IsIndeterminate { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsIndeterminateChanged
Gets or sets a callback that updates the bound value.
Declaration
public EventCallback<bool> IsIndeterminateChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<Boolean> |
Label
The check box label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
TouchTarget
Inclusion of touch target
Declaration
public bool? TouchTarget { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
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()