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
public PromptBoxActionButton()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
Sets the class of the send message button.
[Parameter]
public string Class { get; set; }
Specifies the fill mode of the button.
[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.
[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.
[Parameter]
public object LoadingIcon { get; set; }
Specifies the roundness of the button.
[Parameter]
public string Rounded { get; set; }
Specifies the size of the button. Default value is Small.
[Parameter]
public string Size { get; set; }
Specifies the theme color of the button.
[Parameter]
public string ThemeColor { get; set; }