Class DataGridAssistViewSettings
Provides configuration settings for the SmartDataGrid AI AssistView.
Inheritance
Namespace: Syncfusion.Maui.SmartComponents
Assembly: Syncfusion.Maui.SmartComponents.dll
Syntax
public class DataGridAssistViewSettings : Element
Constructors
DataGridAssistViewSettings()
Initializes a new instance of the DataGridAssistViewSettings class.
Declaration
public DataGridAssistViewSettings()
Fields
AssistStyleProperty
Identifies the AssistStyle Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistStyleProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewBannerTemplateProperty
Identifies the AssistViewBannerTemplate Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewBannerTemplateProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewEditorTemplateProperty
Identifies the AssistViewEditorTemplate Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewEditorTemplateProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderTemplateProperty
Identifies the AssistViewHeaderTemplate Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderTemplateProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderTextProperty
Identifies the AssistViewHeaderText Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderTextProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
EnableSmartActionsProperty
Identifies the EnableSmartActions Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty EnableSmartActionsProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
PromptProperty
Identifies the Prompt Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty PromptProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ShowAssistViewBannerProperty
Identifies the ShowAssistViewBanner Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ShowAssistViewBannerProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ShowAssistViewCloseButtonProperty
Identifies the ShowAssistViewCloseButton Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ShowAssistViewCloseButtonProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
SuggestedPromptsProperty
Identifies the SuggestedPrompts Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SuggestedPromptsProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
AssistStyle
Initializes a new instance of the SfSmartDataGrid class.
Declaration
public SmartAssistStyle AssistStyle { get; set; }
Property Value
| Type |
|---|
| SmartAssistStyle |
AssistViewBannerTemplate
Gets or sets the template used to render the content of the AssistView banner/header area.
Declaration
public DataTemplate AssistViewBannerTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
AssistViewEditorTemplate
Gets or sets the template used to render the AssistView editor (input area) within the popup
Declaration
public DataTemplate AssistViewEditorTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
AssistViewHeaderTemplate
Gets or sets the header template used for the AssistView popup.
Declaration
public DataTemplate AssistViewHeaderTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
AssistViewHeaderText
Gets or sets the header text displayed in the AssistView.
Declaration
public string AssistViewHeaderText { get; set; }
Property Value
| Type |
|---|
| System.String |
EnableSmartActions
Gets or sets whether smart AI actions are applied to the grid.
Declaration
public bool EnableSmartActions { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Prompt
Gets or sets the default prompt to be used when the AssistView opens. If set before opening the popup, the grid will automatically post this prompt to the AssistView and perform the corresponding smart action once, on the first open.
Declaration
public string Prompt { get; set; }
Property Value
| Type |
|---|
| System.String |
ShowAssistViewBanner
Gets or sets a value indicating whether the AssistView banner/header area is displayed.
Declaration
public bool ShowAssistViewBanner { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
ShowAssistViewCloseButton
Gets or sets whether the close button is shown in the AssistView header.
Declaration
public bool ShowAssistViewCloseButton { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
SuggestedPrompts
Gets or sets the collection of suggested prompts rendered in the AI AssistView. These items help users quickly apply actions without typing a query.
Declaration
public IList<ISuggestion> SuggestedPrompts { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.IList<ISuggestion> |
Events
AssistViewClosing
Raised just before the AI Assistant popup closes. Set e.Cancel = true to prevent closing.
Declaration
public event EventHandler<AssistViewClosingEventArgs> AssistViewClosing
Event Type
| Type |
|---|
| System.EventHandler<AssistViewClosingEventArgs> |
AssistViewOpening
Raised just before the AI Assistant popup opens. Set e.Cancel = true to prevent opening.
Declaration
public event EventHandler<AssistViewOpeningEventArgs> AssistViewOpening
Event Type
| Type |
|---|
| System.EventHandler<AssistViewOpeningEventArgs> |