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

Kendo UI PromptBoxFileSelectButtonSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PromptBoxFileSelectButtonSettings

Inheritance: objectPromptBoxFileSelectButtonSettings

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

Constructors

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; }
C#
public string Icon { get; set; }

Defines the font icon name for the File Select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public PromptBoxFileSelectButtonIconSettings IconSettings { get; }

Enables multiple file selection.

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

PromptBox member.

C#
public PromptBox PromptBox { get; set; }

Defines file restrictions for the file selection.

C#
public PromptBoxFileSelectButtonRestrictionsSettings Restrictions { get; }

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#
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>