menu

Blazor

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

    Show / Hide Table of Contents

    Class AssistViewToolbarItem

    Inheritance
    System.Object
    AssistViewToolbarItem
    PromptToolbarItem
    ResponseToolbarItem
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AssistViewToolbarItem : OwningComponentBase

    Constructors

    AssistViewToolbarItem()

    Declaration
    public AssistViewToolbarItem()

    Properties

    CssClass

    Gets or sets the CSS class of the toolbar item in the SfAIAssistView component.

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

    The CSS class of the toolbar item. The default is an empty string.

    Remarks

    This property specifies the CSS class for the AssistViewToolbarItem in the SfAIAssistView component.

    Disabled

    Gets or sets a value indicating whether the toolbar item is disabled in the SfAIAssistView component.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether the toolbar item is disabled. The default is true.

    Remarks

    This property specifies whether the AssistViewToolbarItem is disabled in the SfAIAssistView component.

    IconCss

    Gets or sets the icon CSS for the AssistViewToolbarItem in the SfAIAssistView component.

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

    The CSS class for the icon. The default is String.Empty.

    Remarks

    This property specifies the CSS class for the icon used in the AssistViewToolbarItem.

    TabIndex

    Gets or sets the tab order of the toolbar items in the SfAIAssistView component. When assigned positive values, it allows switching focus to the next/previous toolbar items using the Tab/Shift+Tab keys. If the value is set to 0 for all toolbar items, the tab order switches based on the element's order in the DOM.

    Declaration
    public int TabIndex { get; set; }
    Property Value
    Type
    System.Int32

    Template

    Gets or sets a template that defines the appearance of the toolbar item in the SfAIAssistView component.

    Declaration
    public RenderFragment Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    A Microsoft.AspNetCore.Components.RenderFragment representing the template for the toolbar item. The default is null.

    Remarks

    This property specifies the template used to render the appearance of the AssistViewToolbarItem in the SfAIAssistView component.

    Text

    Gets or sets the text of the toolbar item in the SfAIAssistView component.

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

    The text of the toolbar item. The default is String.Empty.

    Remarks

    This property specifies the text for the AssistViewToolbarItem in the SfAIAssistView component.

    Tooltip

    Gets or sets the tooltip of the toolbar item in the SfAIAssistView component.

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

    The tooltip of the toolbar item. The default is an empty string.

    Remarks

    This property specifies the tooltip for the AssistViewToolbarItem in the SfAIAssistView component.

    Type

    Gets or sets the type of the toolbar item in the SfAIAssistView component.

    Declaration
    public ItemType Type { get; set; }
    Property Value
    Type Description
    ItemType

    The type of the toolbar item. The default is ItemType.Button.

    Remarks

    This property specifies the type for the AssistViewToolbarItem in the SfAIAssistView component.

    Visible

    Gets or sets a value indicating whether the toolbar item is visible in the SfAIAssistView component.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether the toolbar item is visible. The default is true.

    Remarks

    This property specifies whether the AssistViewToolbarItem is visible in the SfAIAssistView component.

    Methods

    Dispose(Boolean)

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

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved