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

Represents the content view for an AI prompt sheet, combining DataGridAIPromptInput with DataGridAISuggestionsView. This is the content that will be displayed inside the BottomSheetContent of RadBottomSheet.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DataGridAIPromptView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewDataGridAIPromptView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the DataGridAIPromptView class.

C#
public DataGridAIPromptView()

Fields

Identifies the ActualEmptyContent property.

C#
public static readonly BindableProperty ActualEmptyContentProperty

Identifies the ActualHeaderLabelStyle property.

C#
public static readonly BindableProperty ActualHeaderLabelStyleProperty

ActualIconTextProperty

BindableProperty

Identifies the ActualIconText property.

C#
public static readonly BindableProperty ActualIconTextProperty

Identifies the ActualPlaceholder property.

C#
public static readonly BindableProperty ActualPlaceholderProperty

Identifies the ActualSegmentedControlStyle property.

C#
public static readonly BindableProperty ActualSegmentedControlStyleProperty

Identifies the AreRecentSemanticSearchesVisible property.

C#
public static readonly BindableProperty AreRecentSemanticSearchesVisibleProperty

Identifies the AreRecentTextSearchesVisible property.

C#
public static readonly BindableProperty AreRecentTextSearchesVisibleProperty

Identifies the CancelPromptRequestCommand property.

C#
public static readonly BindableProperty CancelPromptRequestCommandProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

Identifies the EmptyContentTemplate property.

C#
public static readonly BindableProperty EmptyContentTemplateProperty

HeaderLabelStyleProperty

BindableProperty

Identifies the HeaderLabelStyle property.

C#
public static readonly BindableProperty HeaderLabelStyleProperty

IconTextProperty

BindableProperty

Identifies the IconText property.

C#
public static readonly BindableProperty IconTextProperty

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 IsSemanticSearchOptionVisible property.

C#
public static readonly BindableProperty IsSemanticSearchOptionVisibleProperty

Identifies the IsSuggestedPromptsVisible property.

C#
public static readonly BindableProperty IsSuggestedPromptsVisibleProperty

Identifies the IsTextSearchOptionVisible property.

C#
public static readonly BindableProperty IsTextSearchOptionVisibleProperty

PlaceholderProperty

BindableProperty

Identifies the Placeholder property.

C#
public static readonly BindableProperty PlaceholderProperty

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 RecentSemanticSearches property.

C#
public static readonly BindableProperty RecentSemanticSearchesProperty

Identifies the RecentTextSearches property.

C#
public static readonly BindableProperty RecentTextSearchesProperty

SearchModeProperty

BindableProperty

Identifies the SearchMode property.

C#
public static readonly BindableProperty SearchModeProperty

SearchViewStyleProperty

BindableProperty

Identifies the SearchViewStyle property.

C#
public static readonly BindableProperty SearchViewStyleProperty

Identifies the SegmentedControlStyle property.

C#
public static readonly BindableProperty SegmentedControlStyleProperty

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

ViewModeProperty

BindableProperty

Identifies the ViewMode property.

C#
public static readonly BindableProperty ViewModeProperty

Properties

Gets the empty content string that corresponds to the active view mode.

C#
public string ActualEmptyContent { get; }

Gets the actual style that is applied to the header label. This property contains the merged result of the HeaderLabelStyle and the default style.

C#
public Style ActualHeaderLabelStyle { get; }

Gets the actual icon text applied to the input, computed from IconText if set, or automatically from ViewMode and SearchMode.

C#
public string ActualIconText { get; }

Gets the actual placeholder text applied to the input, computed based on the active ViewMode and SearchMode.

C#
public string ActualPlaceholder { get; }

Gets the actual style that is applied to the segmented control. This property contains the merged result of the SegmentedControlStyle and the default style.

C#
public Style ActualSegmentedControlStyle { get; }

Gets or sets a value indicating whether recent semantic search history is visible.

C#
public bool AreRecentSemanticSearchesVisible { get; set; }

Gets or sets a value indicating whether recent text search history is visible.

C#
public bool AreRecentTextSearchesVisible { get; set; }

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

C#
public ICommand CancelPromptRequestCommand { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the control template that defines the visual structure of the DataGridAIPromptView.

C#
public ControlTemplate ControlTemplate { 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 style of the that represents the header.

C#
public Style HeaderLabelStyle { get; set; }

Gets or sets the icon text (glyph) displayed in the input. When set, overrides the automatic icon selection based on ViewMode and SearchMode.

C#
public string IconText { 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 semantic search mode is enabled.

C#
public bool IsSemanticSearchOptionVisible { 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 keyword search mode is enabled.

C#
public bool IsTextSearchOptionVisible { get; set; }

Gets or sets the placeholder text of the input field, computed based on the active ViewMode and SearchMode.

C#
public string Placeholder { get; set; }

Gets or sets the style of the DataGridAIPromptInput.

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 the collection of recent semantic searches.

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

Gets or sets the collection of recent keyword searches.

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

Gets or sets the currently active search mode of the DataGridAISearchView.

C#
public DataGridAISearchMode SearchMode { get; set; }

Gets or sets the style of the DataGridAISearchView.

C#
public Style SearchViewStyle { get; set; }

Gets or sets the style of the RadSegmentedControl that switches between Search and AI Assistant modes.

C#
public Style SegmentedControlStyle { get; set; }

Gets or sets a value indicating whether selecting a prompt should automatically submit the request. When true, selecting a prompt invokes the PromptRequestCommand (but does not close the sheet). 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; }

Gets or sets the active view mode (Search or AI Assistant).

C#
public DataGridAIViewMode ViewMode { get; set; }

Methods

C#
protected override void OnApplyTemplate()

Events

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

C#
public event EventHandler CancelPromptRequest

Occurs when the user submits the input (via Enter or the send button).

C#
public event EventHandler Completed

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

C#
public event EventHandler<DataGridPromptRequestEventArgs> PromptRequest

Occurs when a recent search item is selected from the DataGridAISearchView.

C#
public event EventHandler<string> RecentSearchSelected
In this article
DefinitionConstructorsDataGridAIPromptView()FieldsActualEmptyContentPropertyActualHeaderLabelStylePropertyActualIconTextPropertyActualPlaceholderPropertyActualSegmentedControlStylePropertyAreRecentSemanticSearchesVisiblePropertyAreRecentTextSearchesVisiblePropertyCancelPromptRequestCommandPropertyControlTemplatePropertyEmptyContentTemplatePropertyHeaderLabelStylePropertyIconTextPropertyInputTextPropertyIsEmptyContentVisiblePropertyIsRecentPromptsVisiblePropertyIsSemanticSearchOptionVisiblePropertyIsSuggestedPromptsVisiblePropertyIsTextSearchOptionVisiblePropertyPlaceholderPropertyPromptInputStylePropertyPromptRequestCommandPropertyRecentPromptsPropertyRecentSemanticSearchesPropertyRecentTextSearchesPropertySearchModePropertySearchViewStylePropertySegmentedControlStylePropertySubmitPromptOnSelectionPropertySuggestedPromptsPropertySuggestionsViewStylePropertyViewModePropertyPropertiesActualEmptyContentActualHeaderLabelStyleActualIconTextActualPlaceholderActualSegmentedControlStyleAreRecentSemanticSearchesVisibleAreRecentTextSearchesVisibleCancelPromptRequestCommandControlTemplateEmptyContentTemplateHeaderLabelStyleIconTextInputTextIsEmptyContentVisibleIsRecentPromptsVisibleIsSemanticSearchOptionVisibleIsSuggestedPromptsVisibleIsTextSearchOptionVisiblePlaceholderPromptInputStylePromptRequestCommandRecentPromptsRecentSemanticSearchesRecentTextSearchesSearchModeSearchViewStyleSegmentedControlStyleSubmitPromptOnSelectionSuggestedPromptsSuggestionsViewStyleViewModeMethodsOnApplyTemplate()EventsCancelPromptRequestCompletedPromptRequestRecentSearchSelected
Not finding the help you need?
Contact Support