Class MBDebouncedTextField
A Material Theme debounced text field.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBDebouncedTextField : InputComponent<string>, IDisposable
Properties
| Improve this Doc View SourceDebounceInterval
Debounce interval in milliseconds.
Declaration
public int? DebounceInterval { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Density
The text field's density.
Declaration
public MBDensity? Density { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBDensity> |
HelperText
Helper text that is displayed either with focus or persistently with HelperTextPersistent.
Declaration
public string HelperText { get; set; }
Property Value
Type | Description |
---|---|
String |
HelperTextPersistent
Makes the HelperText persistent if true.
Declaration
public bool HelperTextPersistent { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
Type | Description |
---|---|
IMBIconFoundry |
Label
Field label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
LeadingIcon
The leading icon's name. No leading icon shown if not set.
Declaration
public string LeadingIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
Prefix
Prefix text.
Declaration
public string Prefix { get; set; }
Property Value
Type | Description |
---|---|
String |
Suffix
Suffix text.
Declaration
public string Suffix { get; set; }
Property Value
Type | Description |
---|---|
String |
TextAlignStyle
The text alignment style.
Overrides TextAlignStyle
Declaration
public MBTextAlignStyle? TextAlignStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBTextAlignStyle> |
TextInputStyle
The text input style.
Overrides TextInputStyle
Declaration
public MBTextInputStyle? TextInputStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MBTextInputStyle> |
TrailingIcon
The trailing icon's name. No leading icon shown if not set.
Declaration
public string TrailingIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
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 SourceOnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.String>.OnInitializedAsync()