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

Provides data for reply-related events. Supports both single and multi-reply scenarios.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ReplyEventArgs : EventArgs

Inheritance: objectEventArgsReplyEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the ReplyEventArgs class for a single message.

C#
public ReplyEventArgs(ChatMessage replyToMessage)
Parameters:replyToMessageChatMessage

The message being replied to.

Initializes a new instance of the ReplyEventArgs class for multiple messages.

C#
public ReplyEventArgs(IEnumerable<ChatMessage> replyToMessages)
Parameters:replyToMessagesIEnumerable<ChatMessage>

The messages being replied to.

Properties

Gets a value indicating whether this is a multi-reply event.

C#
public bool IsMultiReply { get; }

Gets the message that is being replied to. Returns the first message if replying to multiple messages.

C#
public ChatMessage ReplyToMessage { get; }

Gets all the messages that are being replied to.

C#
public IReadOnlyList<ChatMessage> ReplyToMessages { get; }