Class
ButtonBase

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ButtonBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentButtonBase

Derived Classes: ButtonGroupButtonBaseCommandButtonBaseTelerikButtonTelerikToggleButton

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ButtonBase()

Declaration

cs-api-definition
public ButtonBase()

Properties

AriaControls

Sets aria-controls attribute to the button.

Declaration

cs-api-definition
[Parameter]
public string AriaControls { get; set; }

Property Value

string

AriaDescribedBy

Sets aria-describedby attribute to the button.

Declaration

cs-api-definition
[Parameter]
public string AriaDescribedBy { get; set; }

Property Value

string

AriaLabel

Sets the aria-label attribute tо the button.

Declaration

cs-api-definition
[Parameter]
public string AriaLabel { get; set; }

Property Value

string

AriaLabelledBy

Sets aria-labelledby attribute to the button.

Declaration

cs-api-definition
[Parameter]
public string AriaLabelledBy { get; set; }

Property Value

string

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Enabled

Whether the button is enabled.

Declaration

cs-api-definition
[Parameter]
public bool Enabled { get; set; }

Property Value

bool

FillMode

Specifies the fill mode of the button. Default value is Solid.

Declaration

cs-api-definition
[Parameter]
public string FillMode { get; set; }

Property Value

string

Icon

Specifies the icon rendered in the button. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.

Declaration

cs-api-definition
[Parameter]
public object Icon { get; set; }

Property Value

object

Id

Declaration

cs-api-definition
[Parameter]
public virtual string Id { get; set; }

Property Value

string

Rounded

Specifies the roundness of the button. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Rounded { get; set; }

Property Value

string

Size

Specifies the size of the button. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Size { get; set; }

Property Value

string

TabIndex

The tabindex of the button.

Declaration

cs-api-definition
[Parameter]
public int TabIndex { get; set; }

Property Value

int

ThemeColor

Specifies the theme color of the button. Default value is Base.

Declaration

cs-api-definition
[Parameter]
public string ThemeColor { get; set; }

Property Value

string

Title

The title attribute of the Button.

Declaration

cs-api-definition
[Parameter]
public string Title { get; set; }

Property Value

string