Defines the fluent API for configuring PromptBoxFileSelectButtonRestrictionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class PromptBoxFileSelectButtonRestrictionsSettingsBuilder
Inheritance: objectPromptBoxFileSelectButtonRestrictionsSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the PromptBoxFileSelectButtonRestrictionsSettingsBuilder class.
C#
public PromptBoxFileSelectButtonRestrictionsSettingsBuilder(PromptBoxFileSelectButtonRestrictionsSettings container)
Properties
C#
protected PromptBoxFileSelectButtonRestrictionsSettings Container { get; }
Methods
Defines the allowed file extensions.
C#
public PromptBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
The value for AllowedExtensions
Returns:PromptBoxFileSelectButtonRestrictionsSettingsBuilder
Returns the current PromptBoxFileSelectButtonRestrictionsSettingsBuilder instance.
Defines the maximum file size in bytes.
C#
public PromptBoxFileSelectButtonRestrictionsSettingsBuilder MaxFileSize(double value)
The value for MaxFileSize
Returns:PromptBoxFileSelectButtonRestrictionsSettingsBuilder
Returns the current PromptBoxFileSelectButtonRestrictionsSettingsBuilder instance.