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

C#
public static readonly BindableProperty ActualHeaderLabelStyleProperty

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

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

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 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 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 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 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 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; }

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 a prompt is requested from the user on send or completed action.

C#
public event EventHandler<DataGridPromptRequestEventArgs> PromptRequest