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

Defines the fluent API for configuring the PromptBoxFileSelectButtonSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PromptBoxFileSelectButtonSettings : JsonObject

Inheritance: objectJsonObjectPromptBoxFileSelectButtonSettings

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

Constructors

Initialization for the PromptBoxFileSelectButtonSettings

C#
public PromptBoxFileSelectButtonSettings()

Properties

Defines the file types that can be selected using the file input.

C#
public string Accept { get; set; }

Enables or disables the File Select button.

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

Controls the visibility and configuration of the File Select button in the end affix. When enabled, users can attach files to their prompts.

C#
public bool Enabled { get; set; }

Defines the fill mode for the File Select button.

C#
public ButtonFillMode? FillMode { get; set; }

Defines the font icon name for the File Select button.

C#
public string Icon { get; set; }

Enables multiple file selection.

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

Defines file restrictions for the file selection.

C#
public PromptBoxFileSelectButtonRestrictionsSettings Restrictions { get; set; }

Defines the border radius for the File Select button.

C#
public Rounded? Rounded { get; set; }

Defines the size of the File Select button.

C#
public ComponentSize? Size { get; set; }

Defines the theme color for the File Select button.

C#
public ThemeColor? ThemeColor { 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>)