ClassTelerikButton
Class
The class for the Telerik Button component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class TelerikButton : ButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentButtonBaseTelerikButton
Implements:
Inherited Members
Constructors
TelerikButton()
Declaration
cs-api-definition
public TelerikButton()
Properties
ButtonType
The type attribute rendered on the button. Defaults to submit.
Declaration
cs-api-definition
[Parameter]
public ButtonType ButtonType { get; set; }
Property Value
Form
The ID of an associated form. Allows using a submit button outside the form.
OnClick
The Click handler of the button.
Declaration
cs-api-definition
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
FocusAsync()
Moves focus to the component.