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

Stores the label, optional image, and application-defined value for a chat card action.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ChatCardAction

Inheritance: objectChatCardAction

Constructors

Initializes an action with the specified label, image, and value.

C#
public ChatCardAction(string text, Image image, object value)
Parameters:textstring

The label displayed for the action.

imageImage

Optional image metadata associated with the action.

valueobject

Application-defined value associated with the action.

Initializes an action whose label is also used as its value.

C#
public ChatCardAction(string text)
Parameters:textstring

The action label and initial value.

Properties

Gets or sets optional image metadata associated with the action.

C#
public Image Image { get; set; }

Gets or sets the action label used by card action rows to identify the clicked action.

C#
public string Text { get; set; }

Gets or sets the application-defined value associated with the action.

C#
public object Value { get; set; }