A builder class for UploadMessages
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class UploadMessagesBuilder
Inheritance: objectUploadMessagesBuilder
Inherited Members
Constructors
Initializes a new instance of the UploadMessagesBuilder class.
public UploadMessagesBuilder(IUploadMessages messages)
The retry message.
Methods
Sets the Cancel button text.
public UploadMessagesBuilder Cancel(string cancelMessage)
New cancel button text.
Returns:Sets clear file text
public UploadMessagesBuilder ClearSelectedFiles(string clearSelectedFilesMessage)
New clear file text.
Returns:Sets the Drag and Drop hint text.
public UploadMessagesBuilder DropFilesHere(string dropFilesHereMessage)
New Drag and Drop hint text.
Returns:Sets the "paused" header status text accessible by screen readers
public UploadMessagesBuilder HeaderStatusPaused(string headerStatusPausedMessage)
New "header paused" status text accessible by screen readers.
Returns:Sets the "uploaded" header status text accessible by screen readers
public UploadMessagesBuilder HeaderStatusUploaded(string headerStatusUploadedMessage)
New "header uploaded" status text accessible by screen readers.
Returns:Sets the "uploading" header status text accessible by screen readers
public UploadMessagesBuilder HeaderStatusUploading(string headerStatusUploadingMessage)
New "header uploading" status text accessible by screen readers.
Returns:Sets invalid file type text
public UploadMessagesBuilder InvalidFileExtension(string invalidFileExtensionMessage)
New invalid file type text.
Returns:Sets invalid files
public UploadMessagesBuilder InvalidFiles(string invalidFilesMessage)
New invalid files.
Returns:Sets invalid max file size text
public UploadMessagesBuilder InvalidMaxFileSize(string invalidMaxFileSizeMessage)
New invalid max file size text.
Returns:Sets invalid min file size text
public UploadMessagesBuilder InvalidMinFileSize(string invalidMinFileSizeMessage)
New invalid min file size text.
Returns:Sets the Remove button text.
public UploadMessagesBuilder Remove(string removeMessage)
The Remove button text.
Returns:Sets the Retry button text
public UploadMessagesBuilder Retry(string retryMessage)
New Retry button text.
Returns:Sets the Select button text
public UploadMessagesBuilder Select(string selectMessage)
New Select button text.
Returns:Sets the "failed" status text accessible by screen readers
public UploadMessagesBuilder StatusFailed(string statusFailedMessage)
New "failed" status text accessible by screen readers.
Returns:Sets the "uploaded" status text accessible by screen readers
public UploadMessagesBuilder StatusUploaded(string statusUploadedMessage)
New "uploaded" status text accessible by screen readers.
Returns:Sets the "uploading" status text accessible by screen readers
public UploadMessagesBuilder StatusUploading(string statusUploadingMessage)
New "uploading" status text accessible by screen readers.
Returns:Sets the text of the validation message when a file fails to upload
public UploadMessagesBuilder UploadFail(string uploadFailMessage)
New upload fail text.
Returns:Sets Upload button (visible when AutoUpload is set to false) text
public UploadMessagesBuilder UploadSelectedFiles(string uploadSelectedFilesMessage)
New Upload button text.
Returns:Sets the text of the validation message when a file is succesfully uploaded
public UploadMessagesBuilder UploadSuccess(string uploadSuccessMessage)
New upload success text.
Returns: