New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

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 object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public EditorAISettingsCommandBuilder(EditorAICommandSettings container)
Parameters:containerEditorAICommandSettings

Properties

C#
protected EditorAICommandSettings Container { get; }

Methods

The icon of the command.

C#
public EditorAISettingsCommandBuilder Icon(string value)
Parameters:valuestring

The value for Icon

Returns:

EditorAISettingsCommandBuilder

The id of the command.

C#
public EditorAISettingsCommandBuilder Id(string value)
Parameters:valuestring

The value for Id

Returns:

EditorAISettingsCommandBuilder

Defines the items in the prompt commands.

C#
public EditorAISettingsCommandBuilder Items(Action<EditorAISettingsCommandFactory> addAction)
Parameters:addActionAction<EditorAISettingsCommandFactory>Returns:

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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

EditorAISettingsCommandBuilder

The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..

C#
public EditorAISettingsCommandBuilder Prompt(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

EditorAISettingsCommandBuilder

The text of the command.

C#
public EditorAISettingsCommandBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

EditorAISettingsCommandBuilder