Defines the fluent API for configuring ChatFileAction
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatFileActionBuilder
Inheritance: objectChatFileActionBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatFileActionBuilder class.
Properties
The object storing the passed settings.
protected ChatFileAction Container { get; }
Methods
Defines the icon class for the context menu action. The icon appears next to the action text in the context menu.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 ChatFileActionBuilder Icon(Action<ChatFileActionIconSettingsBuilder> configurator)
The ChatFileActionIconSettingsBuilder for the icon setting.
Returns:Returns the current instance of ChatFileActionBuilder .
Defines the icon class for the context menu action. The icon appears next to the action text in the context menu.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 ChatFileActionBuilder Icon(string icon)
The icon.
Returns:Returns the current instance of ChatFileActionBuilder .
Defines the name identifier for the context menu action. This is used internally to identify which action was triggered.
public ChatFileActionBuilder Name(string value)
The value for Name
Returns:Returns the current ChatFileActionBuilder instance.
Defines the display text for the context menu action. This text is shown to users in the context menu.
public ChatFileActionBuilder Text(string value)
The value for Text
Returns:Returns the current ChatFileActionBuilder instance.