ClassAIInsightDialog
Interaction logic for AIInsightDialog.xaml
Definition
Namespace:Telerik.ReportViewer.Wpf
Assembly:Telerik.ReportViewer.Wpf.dll
Syntax:
public class AIInsightDialog : RadWindow
Inheritance: objectAIInsightDialog
Constructors
AIInsightDialog()
Initializes the AIInsight dialog with an empty resource dictionary
Declaration
public AIInsightDialog()
AIInsightDialog(IEnumerable<ResourceDictionary>)
Initializes the AIInsight dialog with resource dictionary instance
Declaration
public AIInsightDialog(IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters
mergedDictionaries
IEnumerable<ResourceDictionary>
AIInsightDialog(ITextResources, IEnumerable<ResourceDictionary>)
Initializes the AIInsight dialog with localization resources and resource dictionary instance;
Declaration
public AIInsightDialog(ITextResources resources, IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters
resources
mergedDictionaries
IEnumerable<ResourceDictionary>
Properties
AIPrompt
Gets the AI prompt control used in the dialog.
Declaration
public RadAIPrompt AIPrompt { get; }
Property Value
RadAIPrompt
CustomPromptsEnabled
Enables or disables custom prompts in the AI prompt control.
Declaration
public bool CustomPromptsEnabled { set; }
Property Value
bool
Suggestions
Sets the suggestions for the AI prompt.
Declaration
public IList<string> Suggestions { set; }
Property Value
IList<string>
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnClosed()
Handles the closed event of the dialog and unregisters its placement.
Declaration
protected override void OnClosed()
OnLocationChanged(EventArgs)
Handles the location change of the dialog and registers its placement.
Declaration
protected override void OnLocationChanged(EventArgs args)
Parameters
args
EventArgs
OnPreviewKeyDown(KeyEventArgs)
Initializes the AIInsight dialog with a resource dictionary instance
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgs