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

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonRestrictionsSettings : JsonObject

Inheritance: objectJsonObjectChatMessageBoxFileSelectButtonRestrictionsSettings

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

Constructors

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettings()

Properties

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

C#
public string[] AllowedExtensions { get; set; }

Maximum file size in bytes.

C#
public double? MaxFileSize { get; set; }

Minimum file size in bytes.

C#
public double? MinFileSize { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)