menu

WPF

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

    Show / Hide Table of Contents

    Class ChatItem

    Represents an item inside the SfAIAssistView control.

    Inheritance
    System.Object
    ChatItem
    Namespace: Syncfusion.UI.Xaml.Chat
    Assembly: Syncfusion.SfChat.Wpf.dll
    Syntax
    public class ChatItem : ContentControl

    Constructors

    ChatItem()

    Initializes a new instance of the ChatItem class.

    Declaration
    public ChatItem()

    Fields

    AuthorProperty

    Identifies the Author dependency property.

    Declaration
    public static readonly DependencyProperty AuthorProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    EditTemplateSelectorProperty

    Identifies the EditTemplateSelector dependency property.

    Declaration
    public static readonly DependencyProperty EditTemplateSelectorProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ViewTemplateSelectorProperty

    Identifies the ViewTemplateSelector dependency property.

    Declaration
    public static readonly DependencyProperty ViewTemplateSelectorProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Author

    Gets or sets the information about the author of a message.

    Declaration
    public Author Author { get; set; }
    Property Value
    Type
    Author

    EditTemplateSelector

    Gets or sets the template selector for the edit mode.

    Declaration
    public DataTemplateSelector EditTemplateSelector { get; set; }
    Property Value
    Type
    System.Windows.Controls.DataTemplateSelector

    ViewTemplateSelector

    Gets or sets the template selector for the view mode.

    Declaration
    public DataTemplateSelector ViewTemplateSelector { get; set; }
    Property Value
    Type
    System.Windows.Controls.DataTemplateSelector

    Methods

    OnApplyTemplate()

    Declaration
    public override void OnApplyTemplate()

    OnContentChanged(Object, Object)

    Declaration
    protected override void OnContentChanged(object oldContent, object newContent)
    Parameters
    Type Name Description
    System.Object oldContent
    System.Object newContent
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved