New to Telerik UI for WinForms? Start a free 30-day trial

Provides the selected card action and the user data associated with its card.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CardActionEventArgs : EventArgs

Inheritance: objectEventArgsCardActionEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for a card action.

C#
public CardActionEventArgs(ChatCardAction action, object userData)
Parameters:actionChatCardAction

The action selected by the user.

userDataobject

The user data associated with the card.

Properties

Gets or sets the selected card action.

C#
public ChatCardAction Action { get; set; }

Gets or sets the user data associated with the card that raised the action event.

C#
public object UserData { get; set; }