Class
DataGridAIPromptDropDown

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:

cs-api-definition
public class DataGridAIPromptDropDown : RadLayout

Inheritance: objectRadLayoutDataGridAIPromptDropDown

Inherited Members RadLayout.CreateLayoutManager()

Constructors

DataGridAIPromptDropDown()

Initializes a new instance of the DataGridAIPromptDropDown class.

Declaration

cs-api-definition
public DataGridAIPromptDropDown()

Fields

CancelPromptRequestCommandProperty

Identifies the CancelPromptRequestCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty CancelPromptRequestCommandProperty

Field Value

BindableProperty

EmptyContentTemplateProperty

Identifies the EmptyContentTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty EmptyContentTemplateProperty

Field Value

BindableProperty

InputTextProperty

Identifies the InputText property.

Declaration

cs-api-definition
public static readonly BindableProperty InputTextProperty

Field Value

BindableProperty

IsEmptyContentVisibleProperty

Identifies the IsEmptyContentVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsEmptyContentVisibleProperty

Field Value

BindableProperty

IsRecentPromptsVisibleProperty

Identifies the IsRecentPromptsVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsRecentPromptsVisibleProperty

Field Value

BindableProperty

IsSuggestedPromptsVisibleProperty

Identifies the IsSuggestedPromptsVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSuggestedPromptsVisibleProperty

Field Value

BindableProperty

OpenOnFocusProperty

Identifies the OpenOnFocus property.

Declaration

cs-api-definition
public static readonly BindableProperty OpenOnFocusProperty

Field Value

BindableProperty

PromptInputStyleProperty

Identifies the PromptInputStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty PromptInputStyleProperty

Field Value

BindableProperty

PromptRequestCommandProperty

Identifies the PromptRequestCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty PromptRequestCommandProperty

Field Value

BindableProperty

RecentPromptsProperty

Identifies the RecentPrompts property.

Declaration

cs-api-definition
public static readonly BindableProperty RecentPromptsProperty

Field Value

BindableProperty

SubmitPromptOnSelectionProperty

Identifies the SubmitPromptOnSelection property.

Declaration

cs-api-definition
public static readonly BindableProperty SubmitPromptOnSelectionProperty

Field Value

BindableProperty

SuggestedPromptsProperty

Identifies the SuggestedPrompts property.

Declaration

cs-api-definition
public static readonly BindableProperty SuggestedPromptsProperty

Field Value

BindableProperty

SuggestionsViewStyleProperty

Identifies the SuggestionsViewStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty SuggestionsViewStyleProperty

Field Value

BindableProperty

Properties

CancelPromptRequestCommand

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

Declaration

cs-api-definition
public ICommand CancelPromptRequestCommand { get; set; }

Property Value

ICommand

EmptyContentTemplate

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

Declaration

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

Property Value

DataTemplate

InputText

Gets or sets the text of the input field.

Declaration

cs-api-definition
public string InputText { get; set; }

Property Value

string

IsEmptyContentVisible

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

Declaration

cs-api-definition
public bool IsEmptyContentVisible { get; set; }

Property Value

bool

IsRecentPromptsVisible

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

Declaration

cs-api-definition
public bool IsRecentPromptsVisible { get; set; }

Property Value

bool

IsSuggestedPromptsVisible

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

Declaration

cs-api-definition
public bool IsSuggestedPromptsVisible { get; set; }

Property Value

bool

OpenOnFocus

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

Declaration

cs-api-definition
public bool OpenOnFocus { get; set; }

Property Value

bool

PromptInputStyle

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

Declaration

cs-api-definition
public Style PromptInputStyle { get; set; }

Property Value

Style

PromptRequestCommand

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

Declaration

cs-api-definition
public ICommand PromptRequestCommand { get; set; }

Property Value

ICommand

RecentPrompts

Gets or sets the collection of recent prompts.

Declaration

cs-api-definition
public IEnumerable<string> RecentPrompts { get; set; }

Property Value

IEnumerable<string>

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.

Declaration

cs-api-definition
public bool SubmitPromptOnSelection { get; set; }

Property Value

bool

SuggestedPrompts

Gets or sets the collection of suggested prompts.

Declaration

cs-api-definition
public IEnumerable<string> SuggestedPrompts { get; set; }

Property Value

IEnumerable<string>

SuggestionsViewStyle

Gets or sets the style of the DataGridAISuggestionsView.

Declaration

cs-api-definition
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

cs-api-definition
public event EventHandler CancelPromptRequest

Event Value

EventHandler

PromptRequest

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

Declaration

cs-api-definition
public event EventHandler<DataGridPromptRequestEventArgs> PromptRequest

Event Value

EventHandler<DataGridPromptRequestEventArgs>