Class CardPickerTemplateSelector
Represents a selector that selects the appropriate template to display a particular card message.
Inheritance
Namespace: Telerik.Maui.Controls.Chat
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CardPickerTemplateSelector : DataTemplateSelector
Constructors
CardPickerTemplateSelector()
Initializes a new instance of the CardPickerTemplateSelector class.
Declaration
public CardPickerTemplateSelector()
Properties
BasicCardTemplate
Gets or sets the template that is used for a basic card.
Declaration
public DataTemplate BasicCardTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
ImageCardTemplate
Gets or sets the template that is used for an image card.
Declaration
public DataTemplate ImageCardTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
TemplateNotAvailableTemplate
Gets or sets the template that is used when the provided context cannot be visualized.
Declaration
public DataTemplate TemplateNotAvailableTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
Methods
OnSelectTemplate(Object, BindableObject)
Declaration
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
Parameters
System.Object
item
|
Microsoft.Maui.Controls.BindableObject
container
|
Returns
Microsoft.Maui.Controls.DataTemplate
|