Table of Contents

Class MBDebouncedTextField

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

A Material Theme debounced text field.

public class MBDebouncedTextField : InputComponent<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
MBDebouncedTextField
Implements
Inherited Members

Constructors

MBDebouncedTextField()

public MBDebouncedTextField()

Properties

DebounceInterval

Debounce interval in milliseconds.

[Parameter]
public int? DebounceInterval { get; set; }

Property Value

int?

Density

The text field's density.

[Parameter]
public MBDensity? Density { get; set; }

Property Value

MBDensity?

HelperText

Helper text that is displayed either with focus or persistently with HelperTextPersistent.

[Parameter]
public string HelperText { get; set; }

Property Value

string

HelperTextPersistent

Makes the HelperText persistent if true.

[Parameter]
public bool HelperTextPersistent { get; set; }

Property Value

bool

IconFoundry

The foundry to use for both leading and trailing icons.

IconFoundry="IconHelper.MIIcon()"

IconFoundry="IconHelper.FAIcon()"

IconFoundry="IconHelper.OIIcon()"

Overrides IconFoundryName

[Parameter]
public IMBIconFoundry? IconFoundry { get; set; }

Property Value

IMBIconFoundry

Label

Field label.

[Parameter]
public string? Label { get; set; }

Property Value

string

LeadingIcon

The leading icon's name. No leading icon shown if not set.

[Parameter]
public string? LeadingIcon { get; set; }

Property Value

string

Prefix

Prefix text.

[Parameter]
public string? Prefix { get; set; }

Property Value

string

Suffix

Suffix text.

[Parameter]
public string? Suffix { get; set; }

Property Value

string

TextAlignStyle

The text alignment style.

Overrides TextAlignStyle

[Parameter]
public MBTextAlignStyle? TextAlignStyle { get; set; }

Property Value

MBTextAlignStyle?

TextInputStyle

The text input style.

Overrides TextInputStyle

[Parameter]
public MBTextInputStyle? TextInputStyle { get; set; }

Property Value

MBTextInputStyle?

TrailingIcon

The trailing icon's name. No leading icon shown if not set.

[Parameter]
public string? TrailingIcon { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

OnInitializedAsync()

protected override Task OnInitializedAsync()

Returns

Task