ClassDataGridAIPromptDropDown
Represents an AI prompt input control with a dropdown showing suggested and recent prompts. Combines DataGridAIPromptInput with DataGridAISuggestionsView in a RadPopup dropdown.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridAIPromptDropDown : RadLayout
Inheritance: objectRadLayoutDataGridAIPromptDropDown
Inherited Members
Constructors
DataGridAIPromptDropDown()
Initializes a new instance of the DataGridAIPromptDropDown class.
Declaration
public DataGridAIPromptDropDown()
Fields
CancelPromptRequestCommandProperty
Identifies the CancelPromptRequestCommand property.
Declaration
public static readonly BindableProperty CancelPromptRequestCommandProperty
Field Value
BindableProperty
EmptyContentTemplateProperty
Identifies the EmptyContentTemplate property.
Declaration
public static readonly BindableProperty EmptyContentTemplateProperty
Field Value
BindableProperty
InputTextProperty
Identifies the InputText property.
Declaration
public static readonly BindableProperty InputTextProperty
Field Value
BindableProperty
IsEmptyContentVisibleProperty
Identifies the IsEmptyContentVisible property.
Declaration
public static readonly BindableProperty IsEmptyContentVisibleProperty
Field Value
BindableProperty
IsRecentPromptsVisibleProperty
Identifies the IsRecentPromptsVisible property.
Declaration
public static readonly BindableProperty IsRecentPromptsVisibleProperty
Field Value
BindableProperty
IsSuggestedPromptsVisibleProperty
Identifies the IsSuggestedPromptsVisible property.
Declaration
public static readonly BindableProperty IsSuggestedPromptsVisibleProperty
Field Value
BindableProperty
OpenOnFocusProperty
Identifies the OpenOnFocus property.
Declaration
public static readonly BindableProperty OpenOnFocusProperty
Field Value
BindableProperty
PromptInputStyleProperty
Identifies the PromptInputStyle property.
Declaration
public static readonly BindableProperty PromptInputStyleProperty
Field Value
BindableProperty
PromptRequestCommandProperty
Identifies the PromptRequestCommand property.
Declaration
public static readonly BindableProperty PromptRequestCommandProperty
Field Value
BindableProperty
RecentPromptsProperty
Identifies the RecentPrompts property.
Declaration
public static readonly BindableProperty RecentPromptsProperty
Field Value
BindableProperty
SubmitPromptOnSelectionProperty
Identifies the SubmitPromptOnSelection property.
Declaration
public static readonly BindableProperty SubmitPromptOnSelectionProperty
Field Value
BindableProperty
SuggestedPromptsProperty
Identifies the SuggestedPrompts property.
Declaration
public static readonly BindableProperty SuggestedPromptsProperty
Field Value
BindableProperty
SuggestionsViewStyleProperty
Identifies the SuggestionsViewStyle property.
Declaration
public static readonly BindableProperty SuggestionsViewStyleProperty
Field Value
BindableProperty
Properties
CancelPromptRequestCommand
Gets or sets the command executed when a cancel prompt request is submitted.
Declaration
public ICommand CancelPromptRequestCommand { get; set; }
Property Value
EmptyContentTemplate
Gets or sets the template used to display content when no suggestions are available.
Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
DataTemplate
InputText
Gets or sets the text of the input field.
IsEmptyContentVisible
Gets or sets a value indicating whether the empty content template should be visible when no suggestions are available.
IsRecentPromptsVisible
Gets or sets a value indicating whether the recent prompts section is visible.
IsSuggestedPromptsVisible
Gets or sets a value indicating whether the suggested prompts section is visible.
Declaration
public bool IsSuggestedPromptsVisible { get; set; }
Property Value
OpenOnFocus
Gets or sets a value indicating whether the popup should open automatically when the input view receives focus.
PromptInputStyle
Gets or sets the style of the DataGridAIPromptInput used for text input.
Declaration
public Style PromptInputStyle { get; set; }
Property Value
Style
PromptRequestCommand
Gets or sets the command executed when a prompt request is submitted.
Declaration
public ICommand PromptRequestCommand { get; set; }
Property Value
RecentPrompts
Gets or sets the collection of recent prompts.
Declaration
public IEnumerable<string> RecentPrompts { get; set; }
Property Value
SubmitPromptOnSelection
Gets or sets a value indicating whether selecting a prompt should automatically submit the request. When true, selecting a prompt closes the popup and invokes the PromptRequestCommand. When false, the selected prompt is placed in the input and the user must manually submit.
SuggestedPrompts
Gets or sets the collection of suggested prompts.
Declaration
public IEnumerable<string> SuggestedPrompts { get; set; }
Property Value
SuggestionsViewStyle
Gets or sets the style of the DataGridAISuggestionsView.
Declaration
public Style SuggestionsViewStyle { get; set; }
Property Value
Style
Events
CancelPromptRequest
Occurs when the user requests to cancel the current processing operation by clicking the stop button.
Declaration
public event EventHandler CancelPromptRequest
Event Value
PromptRequest
Occurs when a prompt is requested from the user on send or completed action.
Declaration
public event EventHandler<DataGridPromptRequestEventArgs> PromptRequest
Event Value