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

Defines the fluent API for configuring ChatFileAction

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatFileActionBuilder

Inheritance: objectChatFileActionBuilder

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

Constructors

Initializes a new instance of the ChatFileActionBuilder class.

C#
public ChatFileActionBuilder(ChatFileAction container)
Parameters:containerChatFileAction

Properties

The object storing the passed settings.

C#
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.

C#
public ChatFileActionBuilder Icon(Action<ChatFileActionIconSettingsBuilder> configurator)
Parameters:configuratorAction<ChatFileActionIconSettingsBuilder>

The ChatFileActionIconSettingsBuilder for the icon setting.

Returns:

ChatFileActionBuilder

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.

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

The icon.

Returns:

ChatFileActionBuilder

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.

C#
public ChatFileActionBuilder Name(string value)
Parameters:valuestring

The value for Name

Returns:

ChatFileActionBuilder

Returns the current ChatFileActionBuilder instance.

Defines the display text for the context menu action. This text is shown to users in the context menu.

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

The value for Text

Returns:

ChatFileActionBuilder

Returns the current ChatFileActionBuilder instance.