ClassDataGridPromptRequestEventArgs
Class
Provides data for the PromptRequest event.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
cs-api-definition
public class DataGridPromptRequestEventArgs : EventArgs
Inheritance: objectEventArgsDataGridPromptRequestEventArgs
Inherited Members
Constructors
DataGridPromptRequestEventArgs(string, Action<string>, Action<bool>)
Initializes a new instance of the DataGridPromptRequestEventArgs class.
Declaration
cs-api-definition
public DataGridPromptRequestEventArgs(string prompt, Action<string> onResponseSet = null, Action<bool> onHasErrorSet = null)
Parameters
prompt
The prompt text from the user.
onResponseSet
Optional callback invoked when the Response property is set.
onHasErrorSet
Optional callback invoked when the HasError property is set.
Properties
HasError
Gets or sets a value indicating whether an error occurred during processing.
Prompt
Gets the prompt text from the user.
RequestJson
Gets or sets the JSON request sent to the AI model.
ResponseJson
Gets or sets the response text.