Class
AIPromptToolBarButton

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class AIPromptToolBarButton : AIPromptToolBarItemBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseAIPromptToolBarItemBaseAIPromptToolBarButton

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members AIPromptToolBarItemBase.OnInitialized()AIPromptToolBarItemBase.Dispose()AIPromptToolBarItemBase.ToolBarItemsContainerComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

AIPromptToolBarButton()

Declaration

cs-api-definition
public AIPromptToolBarButton()

Properties

ChildContent

Specifies the ChildContent of the item.

Declaration

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

Property Value

RenderFragment

Class

Specifies the CSS class of the item.

Declaration

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

Property Value

string

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 an icon rendered in the item. 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

OnClick

Specifies the ChildContent of the item.

Declaration

cs-api-definition
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }

Property Value

EventCallback<MouseEventArgs>

Rounded

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

Declaration

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

Property Value

string

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

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

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

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)