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

Defines the fluent API for configuring AIPromptViewPromptCommand

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AIPromptViewPromptCommandBuilder

Inheritance: objectAIPromptViewPromptCommandBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

AIPromptViewPromptCommandBuilder method.

C#
public AIPromptViewPromptCommandBuilder(AIPromptViewPromptCommand container)
Parameters:containerAIPromptViewPromptCommand

Properties

Gets the settings being configured.

C#
protected AIPromptViewPromptCommand Container { get; }

Methods

The icon name of the command item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public AIPromptViewPromptCommandBuilder Icon(Action<AIPromptViewPromptCommandIconSettingsBuilder> configurator)
Parameters:configuratorAction<AIPromptViewPromptCommandIconSettingsBuilder>

The AIPromptViewPromptCommandIconSettingsBuilder for the icon setting.

Returns:

AIPromptViewPromptCommandBuilder

Returns the current instance of AIPromptViewPromptCommandBuilder .

The icon name of the command item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public AIPromptViewPromptCommandBuilder Icon(string icon)
Parameters:iconstring

The icon.

Returns:

AIPromptViewPromptCommandBuilder

Returns the current instance of AIPromptViewPromptCommandBuilder .

The id of the command item.

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

The value for Id

Returns:

AIPromptViewPromptCommandBuilder

Returns the current AIPromptViewPromptCommandBuilder instance.

The collection of command items.

C#
public AIPromptViewPromptCommandBuilder Items(Action<AIPromptViewPromptCommandFactory> configurator)
Parameters:configuratorAction<AIPromptViewPromptCommandFactory>Returns:

AIPromptViewPromptCommandBuilder

Returns the current AIPromptViewPromptCommandBuilder instance.

The text of the command item.

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

The value for Text

Returns:

AIPromptViewPromptCommandBuilder

Returns the current AIPromptViewPromptCommandBuilder instance.