ClassDataGridAIPromptView
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:
public class DataGridAIPromptView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewDataGridAIPromptView
Implements:
Inherited Members
Constructors
DataGridAIPromptView()
Initializes a new instance of the DataGridAIPromptView class.
Declaration
public DataGridAIPromptView()
Fields
ActualHeaderLabelStyleProperty
Identifies the ActualHeaderLabelStyle property.
Declaration
public static readonly BindableProperty ActualHeaderLabelStyleProperty
Field Value
BindableProperty
CancelPromptRequestCommandProperty
Identifies the CancelPromptRequestCommand property.
Declaration
public static readonly BindableProperty CancelPromptRequestCommandProperty
Field Value
BindableProperty
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
BindableProperty
EmptyContentTemplateProperty
Identifies the EmptyContentTemplate property.
Declaration
public static readonly BindableProperty EmptyContentTemplateProperty
Field Value
BindableProperty
HeaderLabelStyleProperty
Identifies the HeaderLabelStyle property.
Declaration
public static readonly BindableProperty HeaderLabelStyleProperty
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
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
ActualHeaderLabelStyle
Gets the actual style that is applied to the header label. This property contains the merged result of the HeaderLabelStyle and the default style.
Declaration
public Style ActualHeaderLabelStyle { get; }
Property Value
Style
CancelPromptRequestCommand
Gets or sets the command executed when a cancel prompt request is submitted.
Declaration
public ICommand CancelPromptRequestCommand { get; set; }
Property Value
ControlTemplate
Gets or sets the control template that defines the visual structure of the DataGridAIPromptView.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
ControlTemplate
EmptyContentTemplate
Gets or sets the template used to display content when no suggestions are available.
Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
DataTemplate
HeaderLabelStyle
Gets or sets the style of the that represents the header.
Declaration
public Style HeaderLabelStyle { get; set; }
Property Value
Style
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
PromptInputStyle
Gets or sets the style of the DataGridAIPromptInput.
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 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.
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
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
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