menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PromptToolbar - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PromptToolbar

    Inheritance
    System.Object
    PromptToolbar
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PromptToolbar : OwningComponentBase

    Constructors

    PromptToolbar()

    Declaration
    public PromptToolbar()

    Properties

    ItemClicked

    Event is raised when click the toolbar item of prompt in the SfAIAssistView component.

    Declaration
    public EventCallback<AssistViewToolbarItemClickedEventArgs> ItemClicked { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.EventCallback<AssistViewToolbarItemClickedEventArgs>
    Remarks

    This event is triggered when click the toolbar item of prompt in the SfAIAssistView component.

    Width

    Gets or sets the width of the prompt toolbar in the SfAIAssistView component.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the width of the prompt toolbar. The default value is "auto".

    Remarks

    Use this property to specify the width of the toolbar in the prompt item of the SfAIAssistView component.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Dispose unmanaged resources in the Syncfusion Blazor component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean value to dispose the object.

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved