Class SfInputBase<TChecked>
A base class for form input components.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
SfInputBase<TChecked>
Assembly: Syncfusion.Blazor.dll
public abstract class SfInputBase<TChecked> : SfBaseComponent
Type Parameters
Name |
Description |
TChecked |
|
Constructors
Declaration
Fields
Declaration
protected Dictionary<string, object> htmlAttributes
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
Declaration
Field Value
Type |
Description |
System.String |
|
Declaration
protected ElementReference input
Field Value
Type |
Description |
Microsoft.AspNetCore.Components.ElementReference |
|
Declaration
protected ElementReference rippleElement
Field Value
Type |
Description |
Microsoft.AspNetCore.Components.ElementReference |
|
Properties
Specifies a value that indicates whether the component is checked or not.
Declaration
public TChecked Checked { get; set; }
Property Value
Type |
Description |
TChecked |
|
Triggers once the component rendering is completed.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
|
Defines class/multiple classes separated by a space in the component wrapper element.
You can add custom styles to the component by using this property.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies a value that indicates whether the component is disabled or not.
When set to true, the component will be in disabled state.
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Defines id attribute for the input element.
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
Defines name attribute for the input element.
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Defines value attribute for the input element.
Declaration
public string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Sets the focus to component.
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
protected virtual void InitRender()
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
System.Boolean |
firstRender |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(System.Boolean)
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|