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

Represents a base class for the views which display cards in the chat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

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

Inheritance: objectRadContentViewCardView

Derived Classes: BasicCardView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

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

Constructors

Initializes a new instance of the CardView class.

C#
public CardView()

Fields

ActionsProperty

BindableProperty

Identifies the Actions property.

C#
public static readonly BindableProperty ActionsProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

Properties

Gets or sets the collection of available card actions.

C#
public ICollection<CardActionContext> Actions { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the control template of the card view.

C#
public ControlTemplate ControlTemplate { get; set; }