Class IgbInput
Inheritance
System.Object
IgbInput
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
public class IgbInput : IgbInputBase, RefSink, JsonSerializable, IDisposable
Constructors
Declaration
Properties
The autocomplete attribute of the control.
Declaration
public string Autocomplete { get; set; }
Property Value
| Type |
Description |
| System.String |
|
The autofocus attribute of the control.
Declaration
public bool Autofocus { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public EventCallback<IgbComponentValueChangedEventArgs> Change { get; set; }
Property Value
Declaration
public string ChangeScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
protected override string DirectRenderElementName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
The type attribute of the control.
Declaration
[WCWidgetMemberName("Type")]
public InputType DisplayType { get; set; }
Property Value
Declaration
[WCAttributeName("inputmode")]
public string InputMode { get; set; }
Property Value
| Type |
Description |
| System.String |
|
The max attribute of the control.
Declaration
public Nullable<double> Max { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
The maximum string length of the control.
Declaration
[WCAttributeName("maxlength")]
public Nullable<double> MaxLength { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
The min attribute of the control.
Declaration
public Nullable<double> Min { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
The minimum string length required by the control.
Declaration
[WCAttributeName("minlength")]
public Nullable<double> MinLength { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
The pattern attribute of the control.
Declaration
public string Pattern { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Makes the control a readonly field.
@default false
Declaration
[WCAttributeName("readonly")]
public bool ReadOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
The step attribute of the control.
Declaration
public Nullable<double> Step { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Double> |
|
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Declaration
protected override bool UseDirectRender { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Enables validation rules to be evaluated without restricting user input. This applies to the maxLength property for
string-type inputs or allows spin buttons to exceed the predefined min/max limits for number-type inputs.
@default false
Declaration
public bool ValidateOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
The value of the control.
Declaration
public string Value { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public EventCallback<string> ValueChanged { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<System.String> |
|
Methods
Declaration
protected override void EnsureModulesLoaded()
Overrides
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
Declaration
public string GetCurrentValue()
Returns
| Type |
Description |
| System.String |
|
Declaration
public Task<string> GetCurrentValueAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.String> |
|
Declaration
protected override string ResolveDisplay()
Returns
| Type |
Description |
| System.String |
|
Overrides
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Components.ParameterView |
parameters |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Declaration
public void StepDown(double n = -1)
Parameters
| Type |
Name |
Description |
| System.Double |
n |
|
Decrements the numeric value of the input by one or more steps.
Declaration
public Task StepDownAsync(double n = -1)
Parameters
| Type |
Name |
Description |
| System.Double |
n |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public void StepUp(double n = -1)
Parameters
| Type |
Name |
Description |
| System.Double |
n |
|
Increments the numeric value of the input by one or more steps.
Declaration
public Task StepUpAsync(double n = -1)
Parameters
| Type |
Name |
Description |
| System.Double |
n |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
System.IDisposable