Defines the fluent API for configuring UploadLocalizationSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class UploadMessagesSettingsBuilder
Inheritance: objectUploadMessagesSettingsBuilder
Inherited Members
Constructors
UploadMessagesSettingsBuilder method.
public UploadMessagesSettingsBuilder(UploadMessagesSettings container)
Properties
Gets the settings being configured.
protected UploadMessagesSettings Container { get; }
Methods
Sets the text of the cancel button text.
public UploadMessagesSettingsBuilder Cancel(string value)
The value for Cancel
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the clear files.
public UploadMessagesSettingsBuilder ClearSelectedFiles(string value)
The value for ClearSelectedFiles
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the drop zone hint.
public UploadMessagesSettingsBuilder DropFilesHere(string value)
The value for DropFilesHere
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the paused status message of the header.
public UploadMessagesSettingsBuilder HeaderStatusPaused(string value)
The value for HeaderStatusPaused
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the header status message for uploaded files.
public UploadMessagesSettingsBuilder HeaderStatusUploaded(string value)
The value for HeaderStatusUploaded
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the header status message for files that are being uploaded.
public UploadMessagesSettingsBuilder HeaderStatusUploading(string value)
The value for HeaderStatusUploading
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for invalid file extension.
public UploadMessagesSettingsBuilder InvalidFileExtension(string value)
The value for InvalidFileExtension
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for invalid maximal size.
public UploadMessagesSettingsBuilder InvalidMaxFileSize(string value)
The value for InvalidMaxFileSize
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for invalid minimal file size.
public UploadMessagesSettingsBuilder InvalidMinFileSize(string value)
The value for InvalidMinFileSize
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the remove button text.
public UploadMessagesSettingsBuilder Remove(string value)
The value for Remove
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the retry button text.
public UploadMessagesSettingsBuilder Retry(string value)
The value for Retry
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the "Select..." button text.
public UploadMessagesSettingsBuilder Select(string value)
The value for Select
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for failed uploads.
public UploadMessagesSettingsBuilder StatusFailed(string value)
The value for StatusFailed
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for uploaded files.
public UploadMessagesSettingsBuilder StatusUploaded(string value)
The value for StatusUploaded
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the status message for files that are being uploaded.
public UploadMessagesSettingsBuilder StatusUploading(string value)
The value for StatusUploading
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the validation message when a file fails to upload.
public UploadMessagesSettingsBuilder UploadFail(string value)
The value for UploadFail
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the "Upload files" button.
public UploadMessagesSettingsBuilder UploadSelectedFiles(string value)
The value for UploadSelectedFiles
Returns:Returns the current UploadMessagesSettingsBuilder instance.
Sets the text of the validation message when a file is succesfully uploaded.
public UploadMessagesSettingsBuilder UploadSuccess(string value)
The value for UploadSuccess
Returns:Returns the current UploadMessagesSettingsBuilder instance.