Class
PromptRequestEventArgs

Represents event arguments for the PromptRequest event.

Definition

Namespace:Telerik.WinControls.UI.AIPrompt

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PromptRequestEventArgs : HandledEventArgs

Inheritance: objectEventArgsHandledEventArgsPromptRequestEventArgs

Inherited Members HandledEventArgs.HandledEventArgs.Empty

Constructors

PromptRequestEventArgs(string, bool)

Initializes a new instance of the PromptRequestEventArgs class.

Declaration

cs-api-definition
public PromptRequestEventArgs(string inputText, bool isRetry = false)

Parameters

inputText

string

The input text.

isRetry

bool

Properties

InputText

Gets the text with which the prompt was initiated. Can be the text in the input textbox or the InputText of an already generated item in case of retry.

Declaration

cs-api-definition
public string InputText { get; }

Property Value

string

IsRetry

Gets a boolean value indicating whether the event was initiated to retry for an already generated response.

Declaration

cs-api-definition
public bool IsRetry { get; }

Property Value

bool