Class PromptRequestEventArgs
Represents event arguments for the PromptRequest event.
Inheritance
Namespace: Telerik.WinControls.UI.AIPrompt
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PromptRequestEventArgs : HandledEventArgs
Constructors
PromptRequestEventArgs(String, Boolean)
Initializes a new instance of the PromptRequestEventArgs class.
Declaration
public PromptRequestEventArgs(string inputText, bool isRetry = false)
Parameters
System.String
inputText
The input text. |
System.Boolean
isRetry
|
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
public string InputText { get; }
Property Value
System.String
|
IsRetry
Gets a boolean value indicating whether the event was initiated to retry for an already generated response.
Declaration
public bool IsRetry { get; }
Property Value
System.Boolean
|