Class
CardActionContext

Represents the context of a particular action held by a card message.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class CardActionContext : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseCardActionContext

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

CardActionContext()

Declaration

cs-api-definition
public CardActionContext()

Properties

Command

Gets or sets the command executed when the card action is selected.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

Data

Gets or sets some custom information about the particular card action context. The RadChat does not use this property anywhere, use this to carry a payload of information for your convenience.

Declaration

cs-api-definition
public object Data { get; set; }

Property Value

object

Text

Gets or sets the text displayed for the card action.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string