Class IgbInputBase
Inheritance
System.Object
IgbInputBase
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
public class IgbInputBase : BaseRendererControl, RefSink, JsonSerializable, IDisposable
Constructors
Declaration
Properties
Declaration
public EventCallback<IgbVoidEventArgs> Blur { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
Declaration
public string BlurScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
protected override ControlEventBehavior DefaultEventBehavior { get; }
Property Value
Overrides
Declaration
protected override string DirectRenderElementName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
The disabled state of the component
Declaration
public bool Disabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public EventCallback<IgbVoidEventArgs> Focus { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
Declaration
public string FocusScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public EventCallback<IgbComponentValueChangedEventArgs> InputOcurred { get; set; }
Property Value
Declaration
public string InputOcurredScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Control the validity of the control.
Declaration
public bool Invalid { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
The label for the control.
Declaration
public string Label { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Whether the control will have outlined appearance.
@default false
Declaration
public bool Outlined { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
The placeholder attribute of the control.
Declaration
public string Placeholder { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Makes the control a required field in a form context.
Declaration
public bool Required { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
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 EventCallback<string> ValueChanging { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<System.String> |
|
Methods
Declaration
[WCWidgetMemberName("Blur")]
public void BlurComponent()
Removes focus from the control.
Declaration
[WCWidgetMemberName("Blur")]
public Task BlurComponentAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public void CheckValidity()
Checks for validity of the control and emits the invalid event if it invalid.
Declaration
public Task CheckValidityAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
Declaration
[WCWidgetMemberName("Focus")]
public void FocusComponent(IgbFocusOptions options)
Parameters
Sets focus on the control.
Declaration
[WCWidgetMemberName("Focus")]
public Task FocusComponentAsync(IgbFocusOptions options)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public void ReportValidity()
Checks for validity of the control and shows the browser message if it 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 the text inside 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 SetNativeElement(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
Declaration
public Task SetNativeElementAsync(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Components.ParameterView |
parameters |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
System.IDisposable