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

Kendo UI ChatMessageBoxFileSelectButtonRestrictionsSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonRestrictionsSettings

Inheritance: objectChatMessageBoxFileSelectButtonRestrictionsSettings

Inherited Members 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; }
C#
public Chat Chat { 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#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>