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

Represents a response action that cancels the message interaction.

Definition

Constructors

Initializes a new instance of the CancelResponseAction class.

C#
public CancelResponseAction(MessageBase message, string text)
Parameters:messageMessageBasetextstring

Initializes a new instance of the CancelResponseAction class.

C#
public CancelResponseAction(MessageBase message)
Parameters:messageMessageBase

Properties

Gets the command associated with the response action.

C#
public override ICommand Command { get; }

Overrides: ResponseAction.Command

Gets or sets an action that is invoked before OnCancelMessageResult.

C#
public Action<MessageBase> PreCancelAction { get; set; }