Class
CardActionView

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:

cs-api-definition
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

CardActionView()

Initializes a new instance of the CardActionView class.

Declaration

cs-api-definition
public CardActionView()

Fields

CommandProperty

Identifies the Command property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextProperty

Identifies the Text property.

Declaration

cs-api-definition
public static readonly BindableProperty TextProperty

Field Value

BindableProperty

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

ControlTemplate

Gets or sets the control template of the card action.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

Text

Gets or sets the text displayed by the card action.

Declaration

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

Property Value

string

TextColor

Gets or sets the text color of the card action.

Declaration

cs-api-definition
public Color TextColor { get; set; }

Property Value

Color

Methods

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string