alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class TypingUsersTemplateContext

    Provides the context for the TypingUsersTemplate tag in SfChatUI, fro styling and positioning of the typing indicator, enhancing the user experience.

    Inheritance
    object
    TypingUsersTemplateContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TypingUsersTemplateContext
    Remarks

    This context object is passed to the TypingUsersTemplate parameter of SfChatUI. Use Users to enumerate the participants currently composing messages.

    Examples
    <SfChatUI>
      <TypingUsersTemplate>
        <!-- Custom template rendering for typing users -->
      </TypingUsersTemplate>
    </SfChatUI>

    Constructors

    TypingUsersTemplateContext()

    Declaration
    public TypingUsersTemplateContext()

    Properties

    Users

    Gets or sets the list of users who are currently typing in the SfChatUI component.

    Declaration
    public List<UserModel> Users { get; set; }
    Property Value
    Type Description
    List<UserModel>

    A list of UserModel representing the users currently typing in the chat. The default value is null.

    Remarks

    This property provides real-time information about users who are actively engaged in typing within the chat interface. It enhances the user experience by indicating which participants are preparing messages.

    Examples
    <SfChatUI>
        <!-- Custom template rendering for typing users -->
    </SfChatUI>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved