alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class MessageToolbarItem

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    MessageToolbarItem
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    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.dll
    Syntax
    public class MessageToolbarItem : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    MessageToolbarItem()

    Declaration
    public MessageToolbarItem()

    Properties

    CssClass

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

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

    The CSS class of the toolbar item. The default is String.Empty.

    Remarks

    This property specifies the CSS class for the SfChatUI in the SfChatUI component.

    Disabled

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

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

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

    Remarks

    This property specifies whether the MessageToolbarItem is disabled in the SfChatUI component.

    IconCss

    Gets or sets the icon CSS for the MessageToolbarItem in the SfChatUI component.

    Declaration
    [Parameter]
    public string IconCss { get; set; }
    Property Value
    Type Description
    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 MessageToolbarItem.

    TabIndex

    Gets or sets the tab order of the toolbar items in the SfChatUI 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
    [Parameter]
    public int TabIndex { get; set; }
    Property Value
    Type Description
    int

    The tab index of the toolbar item. The default value is -1.

    Template

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

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

    A 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 MessageToolbarItem in the SfChatUI component.

    Text

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

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

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

    Remarks

    This property specifies the text for the MessageToolbarItem in the SfChatUI component.

    Tooltip

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

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

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

    Remarks

    This property specifies the tooltip for the MessageToolbarItem in the SfChatUI component.

    Type

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

    Declaration
    [Parameter]
    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 MessageToolbarItem in the SfChatUI component.

    Visible

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

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

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

    Remarks

    This property specifies whether the MessageToolbarItem is visible in the SfChatUI component.

    Methods

    Dispose(bool)

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

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

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