Represents a view that displays AI prompt suggestions and recent prompts in DataGrid.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridAISuggestionsView : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadBorderDataGridAISuggestionsView
Implements:
Inherited Members
Constructors
Initializes a new instance of the DataGridAISuggestionsView class.
public DataGridAISuggestionsView()
Fields
ActualIsRecentPromptsVisibleProperty
BindableProperty
Identifies the ActualIsRecentPromptsVisible property.
public static readonly BindableProperty ActualIsRecentPromptsVisibleProperty
ActualIsSuggestedPromptsVisibleProperty
BindableProperty
Identifies the ActualIsSuggestedPromptsVisible property.
public static readonly BindableProperty ActualIsSuggestedPromptsVisibleProperty
ActualRecentPromptsCollectionViewStyleProperty
BindableProperty
Identifies the ActualRecentPromptsCollectionViewStyle property.
public static readonly BindableProperty ActualRecentPromptsCollectionViewStyleProperty
ActualRecentPromptsIconStyleProperty
BindableProperty
Identifies the ActualRecentPromptsIconStyle property.
public static readonly BindableProperty ActualRecentPromptsIconStyleProperty
ActualRecentPromptsLabelStyleProperty
BindableProperty
Identifies the ActualRecentPromptsLabelStyle property.
public static readonly BindableProperty ActualRecentPromptsLabelStyleProperty
ActualSeparatorStyleProperty
BindableProperty
Identifies the ActualSeparatorStyle property.
public static readonly BindableProperty ActualSeparatorStyleProperty
ActualSuggestedPromptsCollectionViewStyleProperty
BindableProperty
Identifies the ActualSuggestedPromptsCollectionViewStyle property.
public static readonly BindableProperty ActualSuggestedPromptsCollectionViewStyleProperty
ActualSuggestedPromptsIconStyleProperty
BindableProperty
Identifies the ActualSuggestedPromptsIconStyle property.
public static readonly BindableProperty ActualSuggestedPromptsIconStyleProperty
ActualSuggestedPromptsLabelStyleProperty
BindableProperty
Identifies the ActualSuggestedPromptsLabelStyle property.
public static readonly BindableProperty ActualSuggestedPromptsLabelStyleProperty
BackgroundColorProperty
BindableProperty
Identifies the BackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
BackgroundProperty
BindableProperty
Identifies the Background property.
public static readonly BindableProperty BackgroundProperty
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
IsRecentPromptsVisibleProperty
BindableProperty
Identifies the IsRecentPromptsVisible property.
public static readonly BindableProperty IsRecentPromptsVisibleProperty
IsSuggestedPromptsVisibleProperty
BindableProperty
Identifies the IsSuggestedPromptsVisible property.
public static readonly BindableProperty IsSuggestedPromptsVisibleProperty
PromptSelectedCommandProperty
BindableProperty
Identifies the PromptSelectedCommand property.
public static readonly BindableProperty PromptSelectedCommandProperty
RecentPromptsCollectionViewStyleProperty
BindableProperty
Identifies the RecentPromptsCollectionViewStyle property.
public static readonly BindableProperty RecentPromptsCollectionViewStyleProperty
RecentPromptsIconStyleProperty
BindableProperty
Identifies the RecentPromptsIconStyle property.
public static readonly BindableProperty RecentPromptsIconStyleProperty
RecentPromptsLabelStyleProperty
BindableProperty
Identifies the RecentPromptsLabelStyle property.
public static readonly BindableProperty RecentPromptsLabelStyleProperty
RecentPromptsProperty
BindableProperty
Identifies the RecentPrompts property.
public static readonly BindableProperty RecentPromptsProperty
SeparatorStyleProperty
BindableProperty
Identifies the SeparatorStyle property.
public static readonly BindableProperty SeparatorStyleProperty
StyleProperty
BindableProperty
Identifies the Style property.
public static readonly BindableProperty StyleProperty
SuggestedPromptsCollectionViewStyleProperty
BindableProperty
Identifies the SuggestedPromptsCollectionViewStyle property.
public static readonly BindableProperty SuggestedPromptsCollectionViewStyleProperty
SuggestedPromptsIconStyleProperty
BindableProperty
Identifies the SuggestedPromptsIconStyle property.
public static readonly BindableProperty SuggestedPromptsIconStyleProperty
SuggestedPromptsLabelStyleProperty
BindableProperty
Identifies the SuggestedPromptsLabelStyle property.
public static readonly BindableProperty SuggestedPromptsLabelStyleProperty
SuggestedPromptsProperty
BindableProperty
Identifies the SuggestedPrompts property.
public static readonly BindableProperty SuggestedPromptsProperty
Properties
Gets a value indicating whether the recent prompts section is actually visible. This is true only when IsRecentPromptsVisible is true and RecentPrompts has items.
public bool ActualIsRecentPromptsVisible { get; }
Gets a value indicating whether the suggested prompts section is actually visible. This is true only when IsSuggestedPromptsVisible is true and SuggestedPrompts has items.
public bool ActualIsSuggestedPromptsVisible { get; }
Gets the actual style that is applied to the recent prompts collection view.
public Style ActualRecentPromptsCollectionViewStyle { get; }
Gets the actual style that is applied to the recent prompts icon.
public Style ActualRecentPromptsIconStyle { get; }
Gets the actual style that is applied to the recent prompts label.
public Style ActualRecentPromptsLabelStyle { get; }
ActualSeparatorStyle
Style
Gets the actual style that is applied to the separator.
public Style ActualSeparatorStyle { get; }
Gets the actual style that is applied to the suggested prompts collection view.
public Style ActualSuggestedPromptsCollectionViewStyle { get; }
Gets the actual style that is applied to the suggested prompts icon.
public Style ActualSuggestedPromptsIconStyle { get; }
Gets the actual style that is applied to the suggested prompts label.
public Style ActualSuggestedPromptsLabelStyle { get; }
Background
Brush
Gets or sets the background brush of the control.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }
BackgroundColor
Color
Gets or sets the background color of the control.
public Color BackgroundColor { get; set; }
ControlTemplate
ControlTemplate
Gets or sets the control template that defines the visual structure of the DataGridAISuggestionsView.
public ControlTemplate ControlTemplate { get; set; }
Gets or sets a value indicating whether the recent prompts section is visible. The actual visibility also depends on whether the RecentPrompts collection has items.
public bool IsRecentPromptsVisible { get; set; }
Gets or sets a value indicating whether the suggested prompts section is visible. The actual visibility also depends on whether the SuggestedPrompts collection has items.
public bool IsSuggestedPromptsVisible { get; set; }
Gets or sets the command that is executed when a prompt is selected.
public ICommand PromptSelectedCommand { get; set; }
Gets or sets the collection of recent prompts to display.
public IEnumerable<string> RecentPrompts { get; set; }
Gets or sets the style of the RadCollectionView that displays the recent prompts.
public Style RecentPromptsCollectionViewStyle { get; set; }
Gets or sets the style of the that represents the recent prompts icon.
public Style RecentPromptsIconStyle { get; set; }
Gets or sets the style of the that represents the recent prompts label.
public Style RecentPromptsLabelStyle { get; set; }
SeparatorStyle
Style
Gets or sets the style of the that represents the separator.
public Style SeparatorStyle { get; set; }
Style
Style
Gets or sets the style applied to the DataGridAISuggestionsView.
public Style Style { get; set; }
Gets or sets the collection of suggested prompts to display.
public IEnumerable<string> SuggestedPrompts { get; set; }
Gets or sets the style of the RadCollectionView that displays the suggested prompts.
public Style SuggestedPromptsCollectionViewStyle { get; set; }
Gets or sets the style of the that represents the suggested prompts icon.
public Style SuggestedPromptsIconStyle { get; set; }
Gets or sets the style of the that represents the suggested prompts label.
public Style SuggestedPromptsLabelStyle { get; set; }
Methods
protected override void OnApplyTemplate()
Events
Occurs when a prompt is selected by the user.
public event EventHandler<string> PromptSelected