Class TelerikButton
The class for the Telerik Button component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikButton : ButtonBase, IDisposable
Constructors
TelerikButton()
Declaration
public TelerikButton()
Properties
ButtonType
The type attribute rendered on the button. Defaults to submit.
Declaration
public ButtonType ButtonType { get; set; }
Property Value
ButtonType
|
Form
The ID of an associated form. Allows using a submit button outside the form.
Declaration
public string Form { get; set; }
Property Value
System.String
|
OnClick
The Click handler of the button.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
|
Visible
Defines whether the button is visible. Default value is true.
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
FocusAsync()
Moves focus to the component.
Declaration
public Task FocusAsync()
Returns
System.Threading.Tasks.Task
|