New to Telerik UI for WPFStart a free 30-day trial

Represents a control that displays text messages.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

C#
public class TextMessageControl : Control

Inheritance: objectTextMessageControl

Constructors

Initializes a new instance of the TextMessageControl class.

C#
public TextMessageControl()

Fields

AttachedFilesProperty

DependencyProperty

Identifies the AttachedFiles dependency property.

C#
public static readonly DependencyProperty AttachedFilesProperty

CreationDateProperty

DependencyProperty

Identifies the CreationDate dependency property.

C#
public static readonly DependencyProperty CreationDateProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

StatusProperty

DependencyProperty

Identifies the Status dependency property.

C#
public static readonly DependencyProperty StatusProperty

TextProperty

DependencyProperty

Identifies the Text dependency property.

C#
public static readonly DependencyProperty TextProperty

Properties

Gets or sets the attached files associated with this message.

C#
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; set; }

Gets or sets the time when the underlying message was created.

C#
public DateTime CreationDate { get; set; }

Gets or sets a value that indicates whether the message is selected.

C#
public bool IsSelected { get; set; }

Gets or sets the message status.

C#
public string Status { get; set; }

Gets or sets the displayed text.

C#
public string Text { get; set; }

Methods

C#
public override void OnApplyTemplate()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs