Provides a fluent interface for configuring Editor AI settings commands.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class EditorAISettingsCommandBuilder
Inheritance: objectEditorAISettingsCommandBuilder
Inherited Members
Constructors
C#
public EditorAISettingsCommandBuilder(EditorAICommandSettings container)
Properties
C#
protected EditorAICommandSettings Container { get; }
Methods
The icon of the command.
C#
public EditorAISettingsCommandBuilder Icon(string value)
The value for Icon
Returns:The id of the command.
C#
public EditorAISettingsCommandBuilder Id(string value)
The value for Id
Returns:Defines the items in the prompt commands.
C#
public EditorAISettingsCommandBuilder Items(Action<EditorAISettingsCommandFactory> addAction)
EditorAISettingsCommandBuilder
Returns the current EditorAISettingsCommandBuilder instance.
The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..
C#
public EditorAISettingsCommandBuilder Prompt(string handler)
The name of the JavaScript function that will be evaluated.
Returns:The text of the command.
C#
public EditorAISettingsCommandBuilder Text(string value)
The value for Text
Returns: