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

Represents control that displays a single overlay message.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

C#
public class ChatOverlay : ContentControl, IMessageReportSubscriber

Inheritance: objectChatOverlay

Implements: IMessageReportSubscriber

Constructors

C#
public ChatOverlay()

Fields

ActionsBackgroundProperty

DependencyProperty

Identifies the ActionsBackground dependency property.

C#
public static readonly DependencyProperty ActionsBackgroundProperty

FooterBackgroundProperty

DependencyProperty

Identifies the FooterBackground dependency property.

C#
public static readonly DependencyProperty FooterBackgroundProperty

HeaderBackgroundProperty

DependencyProperty

Identifies the HeaderBackground dependency property.

C#
public static readonly DependencyProperty HeaderBackgroundProperty

MainBackgroundProperty

DependencyProperty

Identifies the MainBackground dependency property.

C#
public static readonly DependencyProperty MainBackgroundProperty

Properties

Gets or sets a brush that is used for action panel's background.

C#
public Brush ActionsBackground { get; set; }

Gets or sets a brush that is used for footer background.

C#
public Brush FooterBackground { get; set; }

Gets or sets a brush that is used for header background.

C#
public Brush HeaderBackground { get; set; }

Gets or sets a brush that is used for the main background.

C#
public Brush MainBackground { get; set; }

Gets the MessageReporter control that processes result actions.

C#
public MessageReporter MessageReporter { get; }

Implements: IMessageReportSubscriber.MessageReporter

Methods

Adds a message as overlay content.

C#
public void AddMessage(MessageBase message)
Parameters:messageMessageBase
C#
public override void OnApplyTemplate()
C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Clears the overlay message and removes event subscriptions, if present.

C#
public void RemoveMessage(MessageBase message)
Parameters:messageMessageBase

Implements: IMessageReportSubscriber.RemoveMessage(MessageBase)