Class ResponseItem
Represents an individual response action item rendered within the response popup of the SfInlineAIAssist component.
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.InteractiveChat.dll
Syntax
public class ResponseItem
Remarks
Use this class to define individual response action items within the ResponseActions of the SfInlineAIAssist component. Each ResponseItem can be configured with an icon, label, tooltip, and other display options to represent a distinct response action available to the user after an AI response is generated.
Multiple ResponseItem instances can be defined inside ResponseActions to build a complete set of response actions rendered in the response popup.
Constructors
ResponseItem()
Declaration
public ResponseItem()
Properties
Disabled
Gets or sets a value indicating whether the ResponseItem is disabled in the SfInlineAIAssist component.
Declaration
public bool Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool indicating whether the response action item is disabled. The default value is false. |
Remarks
This property specifies whether the ResponseItem is disabled in the SfInlineAIAssist component.
GroupBy
Gets or sets the group key used to categorize the ResponseItem within the SfInlineAIAssist component.
Declaration
public string GroupBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the group key for categorizing the response action item. The default value is |
Remarks
Use this property to logically group related ResponseItem components together.
ID
Gets or sets the unique identifier for the ResponseItem in the SfInlineAIAssist component.
Declaration
public string ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the unique identifier of the response action item. The default value is |
Remarks
Use this property to assign a unique ID to the ResponseItem in the SfInlineAIAssist component.
IconCss
Gets or sets the icon CSS for the ResponseItem in the SfInlineAIAssist component.
Declaration
public string IconCss { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The CSS class for the icon. The default is |
Remarks
This property specifies the CSS class for the icon used in the ResponseItem.
Label
Gets or sets the display text for the ResponseItem in the SfInlineAIAssist component.
Declaration
public string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the display text of the response action item. The default value is |
Remarks
This property specifies the text for the ResponseItem in the SfInlineAIAssist component.
Tooltip
Gets or sets the tooltip text displayed when hovering over the ResponseItem in the SfInlineAIAssist component.
Declaration
public string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the tooltip text of the response action item. The default value is |
Remarks
This property specifies the tooltip text for the ResponseItem in the SfInlineAIAssist component.