Class AIPromptCommandTemplateSelector
Selects Microsoft.Maui.Controls.DataTemplate instances for the commands of the RadAIPrompt.
Inheritance
System.Object
AIPromptCommandTemplateSelector
Namespace: Telerik.Maui.Controls.AIPrompt
Assembly: Telerik.Maui.Controls.dll
Syntax
public class AIPromptCommandTemplateSelector : DataTemplateSelector
Constructors
AIPromptCommandTemplateSelector()
Declaration
public AIPromptCommandTemplateSelector()
Properties
CommandTemplate
Gets or sets the template that is used for the AIPromptCommand items.
Declaration
public DataTemplate CommandTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
GroupTemplate
Gets or sets the template that is used for the AIPromptCommandGroup items.
Declaration
public DataTemplate GroupTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
Methods
OnSelectTemplate(Object, BindableObject)
Selects a template based on the provided information.
Declaration
protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
Parameters
System.Object
item
|
Microsoft.Maui.Controls.BindableObject
container
|
Returns
Microsoft.Maui.Controls.DataTemplate
|