ClassTelerikButton
Represents a Telerik UI for Blazor Button component that handles user clicks, form submissions, and navigation actions. Supports icons, multiple styling options, accessibility features, and various button types including submit, reset, and standard buttons. Can be styled with different fill modes, sizes, colors, and corner roundings to match your application's design requirements.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikButton : ButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentButtonBaseTelerikButton
Implements:
Inherited Members
Constructors
TelerikButton()
Declaration
public TelerikButton()
Properties
ButtonType
Sets the HTML button type attribute which determines the button's behavior when clicked. Default value is Submit.
Form
Associates the button with a specific form element by referencing the form's ID attribute. Example: "myFormId".
OnClick
Fires when the user clicks the button. The event provides MouseEventArgs containing details about the click event.
Declaration
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides