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

Defines the fluent API for configuring the ChatMessageBoxFileSelectButtonRestrictionsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Inheritance: objectChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

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

Constructors

Methods

Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
Parameters:valuestring[]

The value that configures the allowedextensions.

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Maximum file size in bytes.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MaxFileSize(double value)
Parameters:valuedouble

The value that configures the maxfilesize.

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Minimum file size in bytes.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MinFileSize(double value)
Parameters:valuedouble

The value that configures the minfilesize.

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder