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

Defines the fluent API for configuring the ChatMessageBoxFileSelectButtonSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonSettingsBuilder

Inheritance: objectChatMessageBoxFileSelectButtonSettingsBuilder

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

Constructors

C#
public ChatMessageBoxFileSelectButtonSettingsBuilder(ChatMessageBoxFileSelectButtonSettings settings)
Parameters:settingsChatMessageBoxFileSelectButtonSettings

The ChatMessageBoxFileSelectButtonSettings

Methods

The accept attribute for the file input element (e.g., "image/*").

C#
public ChatMessageBoxFileSelectButtonSettingsBuilder Accept(string value)
Parameters:valuestring

The value that configures the accept.

Returns:

ChatMessageBoxFileSelectButtonSettingsBuilder

Enables or disables the file select button.

C#
public ChatMessageBoxFileSelectButtonSettingsBuilder Enable(bool value)
Parameters:valuebool

The value that configures the enable.

Returns:

ChatMessageBoxFileSelectButtonSettingsBuilder

Whether to allow multiple file selection.

C#
public ChatMessageBoxFileSelectButtonSettingsBuilder Multiple(bool value)
Parameters:valuebool

The value that configures the multiple.

Returns:

ChatMessageBoxFileSelectButtonSettingsBuilder

File restrictions configuration.

C#
public ChatMessageBoxFileSelectButtonSettingsBuilder Restrictions(Action<ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder> configurator)
Parameters:configuratorAction<ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder>

The action that configures the restrictions.

Returns:

ChatMessageBoxFileSelectButtonSettingsBuilder