ClassPromptBoxActionButton
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
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class PromptBoxActionButton : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance: objectComponentBasePromptBoxActionButton
Implements:
Inherited Members
Constructors
PromptBoxActionButton()
Declaration
public PromptBoxActionButton()
Properties
Class
Sets the class of the send message button.
FillMode
Specifies the fill mode of the button.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
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.
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
[Parameter]
public object LoadingIcon { get; set; }
Property Value
Rounded
Specifies the roundness of the button.
ThemeColor
Specifies the theme color of the button.
Declaration
[Parameter]
public string ThemeColor { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides