New to Telerik UI for WinFormsStart a free 30-day trial

Provides configuration settings for the AI prompt panel in the DataGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridAISettings : INotifyPropertyChanged

Inheritance: objectGridAISettings

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the GridAISettings class.

C#
public GridAISettings()

Properties

Gets or sets a value indicating whether the busy indicator is enabled during prompt processing.

C#
public bool EnableIsBusy { get; set; }

Gets or sets the color used to highlight rows identified by an AI command.

C#
public Color HighlightColor { get; set; }

Gets or sets the text of the input field.

C#
public string InputText { get; set; }

Gets or sets a value indicating whether the recent prompts section is visible.

C#
public bool IsRecentPromptsVisible { get; set; }

Gets or sets a value indicating whether the suggested prompts section is visible.

C#
public bool IsSuggestedPromptsVisible { get; set; }

Gets or sets a value indicating whether the prompt input opens when it receives focus.

C#
public bool OpenPromptSuggestionsOnFocus { get; set; }

RecentPrompts

IEnumerable<string>

Gets or sets the collection of recent prompts.

C#
public IEnumerable<string> RecentPrompts { get; set; }

Gets or sets a value indicating whether selecting a prompt should automatically submit the request.

C#
public bool SubmitPromptOnSelection { get; set; }

Gets or sets the collection of suggested prompts.

C#
public IEnumerable<string> SuggestedPrompts { get; set; }

Gets or sets the watermark (placeholder) content displayed in the prompt input when it is empty.

C#
public object WatermarkContent { get; set; }

Methods

Raises the PropertyChanged event.

C#
protected virtual void OnPropertyChanged(string propertyName = "")
Parameters:propertyNamestring

The name of the changed property.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged