Class
AIPromptCommandTemplateSelector

Selects DataTemplate instances for the commands of the RadAIPrompt.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class AIPromptCommandTemplateSelector : DataTemplateSelector

Inheritance: objectAIPromptCommandTemplateSelector

Constructors

AIPromptCommandTemplateSelector()

Declaration

cs-api-definition
public AIPromptCommandTemplateSelector()

Properties

CommandTemplate

Gets or sets the template that is used for the AIPromptCommand items.

Declaration

cs-api-definition
public DataTemplate CommandTemplate { get; set; }

Property Value

DataTemplate

GroupTemplate

Gets or sets the template that is used for the AIPromptCommandGroup items.

Declaration

cs-api-definition
public DataTemplate GroupTemplate { get; set; }

Property Value

DataTemplate

Methods

OnSelectTemplate(object, BindableObject)

Selects a template based on the provided information.

Declaration

cs-api-definition
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)

Parameters

item

object

container

BindableObject

Returns

DataTemplate