Defines the fluent API for configuring AIPromptViewPromptCommand
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class AIPromptViewPromptCommandBuilder
Inheritance: objectAIPromptViewPromptCommandBuilder
Inherited Members
Constructors
AIPromptViewPromptCommandBuilder method.
public AIPromptViewPromptCommandBuilder(AIPromptViewPromptCommand container)
Properties
Gets the settings being configured.
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.
public AIPromptViewPromptCommandBuilder Icon(Action<AIPromptViewPromptCommandIconSettingsBuilder> configurator)
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.
public AIPromptViewPromptCommandBuilder Icon(string icon)
The icon.
Returns:AIPromptViewPromptCommandBuilder
Returns the current instance of AIPromptViewPromptCommandBuilder .
The id of the command item.
public AIPromptViewPromptCommandBuilder Id(string value)
The value for Id
Returns:AIPromptViewPromptCommandBuilder
Returns the current AIPromptViewPromptCommandBuilder instance.
The collection of command items.
public AIPromptViewPromptCommandBuilder Items(Action<AIPromptViewPromptCommandFactory> configurator)
AIPromptViewPromptCommandBuilder
Returns the current AIPromptViewPromptCommandBuilder instance.
The text of the command item.
public AIPromptViewPromptCommandBuilder Text(string value)
The value for Text
Returns:AIPromptViewPromptCommandBuilder
Returns the current AIPromptViewPromptCommandBuilder instance.