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

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonSettings : JsonObject

Inheritance: objectJsonObjectChatMessageBoxFileSelectButtonSettings

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 ChatMessageBoxFileSelectButtonSettings()

Properties

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

C#
public string Accept { get; set; }

Enables or disables the file select button.

C#
public bool? Enable { get; set; }

Configures the file select button within the message box. Can be a boolean to enable/disable, or an object for detailed configuration.

C#
public bool Enabled { get; set; }

Whether to allow multiple file selection.

C#
public bool? Multiple { get; set; }

File restrictions configuration.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettings Restrictions { 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>)