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