Class
AIInsightDialog

Interaction logic for AIInsightDialog.xaml

Definition

Namespace:Telerik.ReportViewer.Wpf

Assembly:Telerik.ReportViewer.Wpf.dll

Syntax:

cs-api-definition
public class AIInsightDialog : RadWindow

Inheritance: objectAIInsightDialog

Constructors

AIInsightDialog()

Initializes the AIInsight dialog with an empty resource dictionary

Declaration

cs-api-definition
public AIInsightDialog()

AIInsightDialog(IEnumerable<ResourceDictionary>)

Initializes the AIInsight dialog with resource dictionary instance

Declaration

cs-api-definition
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

cs-api-definition
public AIInsightDialog(ITextResources resources, IEnumerable<ResourceDictionary> mergedDictionaries)

Parameters

resources

ITextResources

mergedDictionaries

IEnumerable<ResourceDictionary>

Properties

AIPrompt

Gets the AI prompt control used in the dialog.

Declaration

cs-api-definition
public RadAIPrompt AIPrompt { get; }

Property Value

RadAIPrompt

CustomPromptsEnabled

Enables or disables custom prompts in the AI prompt control.

Declaration

cs-api-definition
public bool CustomPromptsEnabled { set; }

Property Value

bool

Suggestions

Sets the suggestions for the AI prompt.

Declaration

cs-api-definition
public IList<string> Suggestions { set; }

Property Value

IList<string>

Methods

InitializeComponent()

InitializeComponent

Declaration

cs-api-definition
public void InitializeComponent()

OnClosed()

Handles the closed event of the dialog and unregisters its placement.

Declaration

cs-api-definition
protected override void OnClosed()

OnLocationChanged(EventArgs)

Handles the location change of the dialog and registers its placement.

Declaration

cs-api-definition
protected override void OnLocationChanged(EventArgs args)

Parameters

args

EventArgs

OnPreviewKeyDown(KeyEventArgs)

Initializes the AIInsight dialog with a resource dictionary instance

Declaration

cs-api-definition
protected override void OnPreviewKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs