ChatOverlayMessage
Carries a custom overlay element and selects whether the chat displays it as a popup or an input-blocking overlay.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatOverlayMessage : ChatMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatOverlayMessage
Implements:
Inherited Members
Constructors
Initializes an overlay message for the standard overlay surface.
public ChatOverlayMessage(BaseChatOverlay overlayElement, Author author, DateTime timeStamp)
The custom overlay content to display.
authorAuthorThe author associated with the message.
timeStampDateTimeThe time associated with the message.
Initializes an overlay message with a display surface and application-defined user data.
public ChatOverlayMessage(BaseChatOverlay overlayElement, bool showAsPopup, Author author, DateTime timeStamp, object userData)
The custom overlay content to display.
showAsPopupbooltrue to display the content in the popup surface; otherwise, display it as an overlay that hides the prompt input.
authorAuthorThe author associated with the message.
timeStampDateTimeThe time associated with the message.
userDataobjectApplication-defined data associated with the message.
Initializes an overlay message and selects its display surface.
public ChatOverlayMessage(BaseChatOverlay overlayElement, bool showAsPopup, Author author, DateTime timeStamp)
The custom overlay content to display.
showAsPopupbooltrue to display the content in the popup surface; otherwise, display it as an overlay that hides the prompt input.
authorAuthorThe author associated with the message.
timeStampDateTimeThe time associated with the message.
Properties
Gets the custom overlay element carried by this message.
public BaseChatOverlay OverlayElement { get; }
Gets or sets whether the chat displays the overlay in its popup surface.
public bool ShowAsPopup { get; set; }
The default is false. The chat reads this setting when the message is displayed; changing it does not move an already displayed overlay.