New to Telerik UI for .NET MAUIStart a free 30-day trial

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

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
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

C#
public CardActionContext()

Properties

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

C#
public ICommand Command { get; set; }

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.

C#
public object Data { get; set; }

Gets or sets the text displayed for the card action.

C#
public string Text { get; set; }