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
The input mode attribute of the control.
Declaration
public InputInputmode Inputmode { get; set; }
Property Value
Controls the validity of the control.
Declaration
public bool Invalid { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
The max attribute of the control.
Declaration
public string Max { get; set; }
Property Value
Type |
Description |
System.String |
|
The maxlength attribute of the control.
Declaration
public double Maxlength { get; set; }
Property Value
Type |
Description |
System.Double |
|
The min attribute of the control.
Declaration
public string Min { get; set; }
Property Value
Type |
Description |
System.String |
|
The minlength attribute of the control.
Declaration
public double Minlength { get; set; }
Property Value
Type |
Description |
System.Double |
|
The pattern attribute of the control.
Declaration
public string Pattern { get; set; }
Property Value
Type |
Description |
System.String |
|
The step attribute of the control.
Declaration
public double Step { get; set; }
Property Value
Type |
Description |
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
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
public void ReportValidity()
Checks for validity of the control and shows the browser message if it's invalid.
Declaration
public Task ReportValidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
Selects all text within the input.
Declaration
public Task SelectAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public void SetCustomValidity(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Sets a custom validation message for the control.
As long as message
is not empty, the control is considered invalid.
Declaration
public Task SetCustomValidityAsync(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public void StepDown(double n)
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)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public void StepUp(double n)
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)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable