Class
PromptBoxActionButton

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

PromptBoxActionButton()

Declaration

cs-api-definition
public PromptBoxActionButton()

Properties

Class

Sets the class of the send message button.

Declaration

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

Property Value

string

FillMode

Specifies the fill mode of the button.

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

LoadingIcon

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.

Declaration

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

Property Value

object

Rounded

Specifies the roundness of the button.

Declaration

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

Property Value

string

Size

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

Declaration

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

Property Value

string

ThemeColor

Specifies the theme color of the button.

Declaration

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

Property Value

string

Title

Sets the title of the button displayed as tooltip text.

Declaration

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

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()