Class TypingUsersTemplateContext
Provides the context for the TypingUsersTemplate tag in SfChatUI,
fro styling and positioning of the typing indicator, enhancing the user experience.
Inherited Members
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 |
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>