Class MBTextArea
A Material Theme text field.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBTextArea : InputComponent<string>, IDisposable
Properties
| Improve this Doc View SourceCols
The number of columns to show when first rendered.
Declaration
public int Cols { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Density
The text area'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 |
Label
Field label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
Rows
The number of rows to show when first rendered.
Declaration
public int Rows { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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> |
ValidationMessageFor
Delivers Material Theme validation methods from native Blazor validation. Either use this or the Blazor
ValidationMessage
component, but not both. This parameter takes the same input as
ValidationMessage
's For
parameter.
Declaration
public Expression<Func<object>> ValidationMessageFor { get; set; }
Property Value
Type | Description |
---|---|
Expression<Func<Object>> |
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.String>.OnInitializedAsync()
|
Improve this Doc
View Source
OnValueSetCallback()
Callback for value the value setter.
Declaration
protected void OnValueSetCallback()