Defines the fluent API for configuring ChatMessageAction
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatMessageActionBuilder
Inheritance: objectChatMessageActionBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatMessageActionBuilder class.
public ChatMessageActionBuilder(ChatMessageAction container)
Properties
The container which stores the passed settings.
protected ChatMessageAction Container { get; }
Methods
Defines the icon class for the context menu action.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 ChatMessageActionBuilder Icon(Action<ChatMessageActionIconSettingsBuilder> configurator)
The ChatMessageActionIconSettingsBuilder for the icon setting.
Returns:Returns the current instance of ChatMessageActionBuilder .
Defines the icon class for the context menu action.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 ChatMessageActionBuilder Icon(string icon)
The icon.
Returns:Returns the current instance of ChatMessageActionBuilder .
Defines the name identifier for the context menu action.
public ChatMessageActionBuilder Name(string value)
The value for Name
Returns:Returns the current ChatMessageActionBuilder instance.
Defines the display text for the context menu action.
public ChatMessageActionBuilder Text(string value)
The value for Text
Returns:Returns the current ChatMessageActionBuilder instance.