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

A view that represents some action that can be done in a RadChat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CardActionView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewCardActionView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the CardActionView class.

C#
public CardActionView()

Fields

CommandProperty

BindableProperty

Identifies the Command property.

C#
public static readonly BindableProperty CommandProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Properties

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

C#
public ICommand Command { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the control template of the card action.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets the text displayed by the card action.

C#
public string Text { get; set; }

Gets or sets the text color of the card action.

C#
public Color TextColor { get; set; }

Methods

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring