alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class InlineToolbar

    Represents the inline toolbar for the SfInlineAIAssist, hosting one or more toolbar items alongside the prompt area.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    InlineToolbar
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.InteractiveChat.dll
    Syntax
    public class InlineToolbar : OwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    Exposes a ToolbarPosition to control its placement and an ItemClick event callback. Integrates with the parent inlineaiassist via the cascading Syncfusion.Blazor.InteractiveChat.InlineToolbar.BaseParent parameter.

    Examples

    The following example demonstrates how to declare and configure an InlineToolbar inside the SfInlineAIAssist component.

    @using Syncfusion.Blazor.InteractiveChat
    
    <SfInlineAIAssist>
        <InlineToolbar ToolbarPosition="ToolbarPosition.Inline"
            ItemClick="OnFooterItemClick">
        </InlineToolbar>
    </SfInlineAIAssist>
    
    @code {
        private Task OnFooterItemClick(InlineToolbarItemClickedEventArgs args)
        {
            // Handle footer toolbar item click here...
        }
    }

    Constructors

    InlineToolbar()

    Declaration
    public InlineToolbar()

    Properties

    ItemClick

    Event is raised when clicking the footer toolbar item in the SfInlineAIAssist component.

    Declaration
    [Parameter]
    public EventCallback<ToolbarItemClickEventArgs> ItemClick { get; set; }
    Property Value
    Type
    EventCallback<ToolbarItemClickEventArgs>
    Remarks

    This event is triggered when clicking the footer toolbar item in the SfInlineAIAssist component.

    ToolbarPosition

    Gets or sets the position of the footer toolbar in the editor.

    Declaration
    [Parameter]
    public ToolbarPosition ToolbarPosition { get; set; }
    Property Value
    Type Description
    ToolbarPosition

    A ToolbarPosition specifying where the footer toolbar is rendered relative to the edit area. The default value is Inline.

    Remarks

    Set this property to control whether the footer toolbar is displayed inline within the editor's content area or at another supported position.

    When set to Inline, the toolbar is rendered at the bottom of the edit area and participates in the editor's layout flow.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose(bool)

    Dispose unmanaged resources in the Syncfusion Blazor component.

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

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

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

    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Handles parameter updates for the InlineToolbar component.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

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

    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved