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.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PromptBoxFileSelectButtonSettingsBuilder

Inheritance: objectPromptBoxFileSelectButtonSettingsBuilder

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

Constructors

C#
public PromptBoxFileSelectButtonSettingsBuilder(PromptBoxFileSelectButtonSettings settings)
Parameters:settingsPromptBoxFileSelectButtonSettings

The PromptBoxFileSelectButtonSettings

Methods

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

C#
public PromptBoxFileSelectButtonSettingsBuilder Accept(string value)
Parameters:valuestring

The value that configures the accept.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Enables or disables the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder Enable(bool value)
Parameters:valuebool

The value that configures the enable.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines the fill mode for the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder FillMode(ButtonFillMode value)
Parameters:valueButtonFillMode

The value that configures the fillmode.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines the font icon name for the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Enables multiple file selection.

C#
public PromptBoxFileSelectButtonSettingsBuilder Multiple(bool value)
Parameters:valuebool

The value that configures the multiple.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines file restrictions for the file selection.

C#
public PromptBoxFileSelectButtonSettingsBuilder Restrictions(Action<PromptBoxFileSelectButtonRestrictionsSettingsBuilder> configurator)
Parameters:configuratorAction<PromptBoxFileSelectButtonRestrictionsSettingsBuilder>

The action that configures the restrictions.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines the border radius for the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder Rounded(Rounded value)
Parameters:valueRounded

The value that configures the rounded.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines the size of the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value that configures the size.

Returns:

PromptBoxFileSelectButtonSettingsBuilder

Defines the theme color for the File Select button.

C#
public PromptBoxFileSelectButtonSettingsBuilder ThemeColor(ThemeColor value)
Parameters:valueThemeColor

The value that configures the themecolor.

Returns:

PromptBoxFileSelectButtonSettingsBuilder