New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class DataGridAIPromptDropDown : RadLayout

Inheritance: objectRadLayoutDataGridAIPromptDropDown

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the DataGridAIPromptDropDown class.

C#
public DataGridAIPromptDropDown()

Fields

Identifies the CancelPromptRequestCommand property.

C#
public static readonly BindableProperty CancelPromptRequestCommandProperty

Identifies the EmptyContentTemplate property.

C#
public static readonly BindableProperty EmptyContentTemplateProperty

InputTextProperty

BindableProperty

Identifies the InputText property.

C#
public static readonly BindableProperty InputTextProperty

Identifies the IsEmptyContentVisible property.

C#
public static readonly BindableProperty IsEmptyContentVisibleProperty

Identifies the IsRecentPromptsVisible property.

C#
public static readonly BindableProperty IsRecentPromptsVisibleProperty

Identifies the IsSuggestedPromptsVisible property.

C#
public static readonly BindableProperty IsSuggestedPromptsVisibleProperty

OpenOnFocusProperty

BindableProperty

Identifies the OpenOnFocus property.

C#
public static readonly BindableProperty OpenOnFocusProperty

PromptInputStyleProperty

BindableProperty

Identifies the PromptInputStyle property.

C#
public static readonly BindableProperty PromptInputStyleProperty

Identifies the PromptRequestCommand property.

C#
public static readonly BindableProperty PromptRequestCommandProperty

RecentPromptsProperty

BindableProperty

Identifies the RecentPrompts property.

C#
public static readonly BindableProperty RecentPromptsProperty

Identifies the SubmitPromptOnSelection property.

C#
public static readonly BindableProperty SubmitPromptOnSelectionProperty

SuggestedPromptsProperty

BindableProperty

Identifies the SuggestedPrompts property.

C#
public static readonly BindableProperty SuggestedPromptsProperty

Identifies the SuggestionsViewStyle property.

C#
public static readonly BindableProperty SuggestionsViewStyleProperty

Properties

Gets or sets the command executed when a cancel prompt request is submitted.

C#
public ICommand CancelPromptRequestCommand { get; set; }

Gets or sets the template used to display content when no suggestions are available.

C#
public DataTemplate EmptyContentTemplate { get; set; }

Gets or sets the text of the input field.

C#
public string InputText { get; set; }

Gets or sets a value indicating whether the empty content template should be visible when no suggestions are available.

C#
public bool IsEmptyContentVisible { get; set; }

Gets or sets a value indicating whether the recent prompts section is visible.

C#
public bool IsRecentPromptsVisible { get; set; }

Gets or sets a value indicating whether the suggested prompts section is visible.

C#
public bool IsSuggestedPromptsVisible { get; set; }

Gets or sets a value indicating whether the popup should open automatically when the input view receives focus.

C#
public bool OpenOnFocus { get; set; }

Gets or sets the style of the DataGridAIPromptInput used for text input.

C#
public Style PromptInputStyle { get; set; }

Gets or sets the command executed when a prompt request is submitted.

C#
public ICommand PromptRequestCommand { get; set; }

Gets or sets the collection of recent prompts.

C#
public IEnumerable<string> RecentPrompts { get; set; }

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.

C#
public bool SubmitPromptOnSelection { get; set; }

Gets or sets the collection of suggested prompts.

C#
public IEnumerable<string> SuggestedPrompts { get; set; }

Gets or sets the style of the DataGridAISuggestionsView.

C#
public Style SuggestionsViewStyle { get; set; }

Events

Occurs when the user requests to cancel the current processing operation by clicking the stop button.

C#
public event EventHandler CancelPromptRequest

Occurs when a prompt is requested from the user on send or completed action.

C#
public event EventHandler<DataGridPromptRequestEventArgs> PromptRequest