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

Specifies the event arguments of the event.

Definition

Namespace:Telerik.Blazor.Components.Common.Grid.SmartBox

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class SmartBoxAIAssistantPromptRequestEventArgs : SmartBoxPanelBaseEventArgs, ICancellableEventArgs

Inheritance: objectEventArgsSmartBoxPanelBaseEventArgsSmartBoxAIAssistantPromptRequestEventArgs

Derived Classes: GridSmartBoxAIAssistantPromptRequestEventArgs

Implements: ICancellableEventArgs

Inherited Members SmartBoxPanelBaseEventArgs.IsCancelledEventArgs.Empty

Constructors

C#
public SmartBoxAIAssistantPromptRequestEventArgs()

Properties

C#
protected CancellationTokenSource CancellationToken { get; set; }

Specifies a default request object if a component that uses the AI Prompt can populate it, e.g. the Grid.

C#
public object Request { get; set; }

Specifies the result of an AI request that can be processed by another component that uses the AI prompt, e.g. the Grid. This is usually the text content of an AI service call. Not applicable in other cases.

C#
public string Response { get; set; }

The prompt text.

C#
public string Text { get; }