alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class MessageTemplateContext

    Inheritance
    object
    MessageTemplateContext
    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 MessageTemplateContext

    Constructors

    MessageTemplateContext()

    Declaration
    public MessageTemplateContext()

    Properties

    Index

    Gets or sets the index of the message in the SfChatUI component.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    int

    An int representing the index of the message. The default value is -1.

    Remarks

    This property indicates the position of the message within the list of messages, allowing for easy reference to specific message items.

    Message

    Gets or sets the chat message data in the SfChatUI component.

    Declaration
    public ChatMessage Message { get; set; }
    Property Value
    Type Description
    ChatMessage

    A ChatMessage representing the message content. The default value is null.

    Remarks

    This property contains the details of the chat message being rendered in the SfChatUI component.

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