Class AICommands
Defines the structure of AI command items displayed in the command dropdown menu. Supports hierarchical organization through nested items.
Inherited Members
Namespace: Syncfusion.Blazor.SmartRichTextEditor
Assembly: Syncfusion.Blazor.SmartRichTextEditor.dll
Syntax
public class AICommands
Constructors
AICommands()
Declaration
public AICommands()
Properties
IconCss
Gets or sets the CSS class name for the icon to display with this command.
Declaration
public string? IconCss { get; set; }
Property Value
| Type |
|---|
| string |
Items
Gets or sets the collection of nested command items for creating multi-level command menus.
Declaration
public List<AICommands>? Items { get; set; }
Property Value
| Type |
|---|
| List<AICommands> |
Prompt
Gets or sets the actual prompt or command text sent to the AI service when selected.
Declaration
public string? Prompt { get; set; }
Property Value
| Type |
|---|
| string |
Text
Gets or sets the display text shown for this command in the UI.
Declaration
public string? Text { get; set; }
Property Value
| Type |
|---|
| string |