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

Represents a chat message used to visually separate messages by time within a chat conversation.

Definition

Constructors

Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp and optional user data.

C#
public ChatTimeSeparatorMessage(DateTime timeStamp, object userData)
Parameters:timeStampDateTime

The date and time associated with the time separator message.

userDataobject

An optional user-defined object that contains additional data related to the message. Can be null.

Initializes a new instance of the ChatTimeSeparatorMessage class with the specified timestamp.

C#
public ChatTimeSeparatorMessage(DateTime timeStamp)
Parameters:timeStampDateTime

The date and time to associate with the time separator message.