New to Telerik UI for BlazorStart a free 30-day trial

Represents a button component designed for triggering the primary action within a TelerikPromptBox. This button typically initiates the main operation associated with the prompt, such as submitting input or confirming an action. It supports various styling options and can display different icons based on the loading state of the prompt box.

Definition

Constructors

C#
public PromptBoxActionButton()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

Properties

Sets the class of the send message button.

C#
[Parameter]
public string Class { get; set; }

Specifies the fill mode of the button.

C#
[Parameter]
public string FillMode { get; set; }

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.

C#
[Parameter]
public object Icon { get; set; }

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

C#
[Parameter]
public object LoadingIcon { get; set; }

Specifies the roundness of the button.

C#
[Parameter]
public string Rounded { get; set; }

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

C#
[Parameter]
public string Size { get; set; }

Specifies the theme color of the button.

C#
[Parameter]
public string ThemeColor { get; set; }

Sets the title of the button displayed as tooltip text.

C#
[Parameter]
public string Title { get; set; }