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

Defines the fluent API for configuring UploadLocalizationSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class UploadMessagesSettingsBuilder

Inheritance: objectUploadMessagesSettingsBuilder

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

Constructors

UploadMessagesSettingsBuilder method.

C#
public UploadMessagesSettingsBuilder(UploadMessagesSettings container)
Parameters:containerUploadMessagesSettings

Properties

Gets the settings being configured.

C#
protected UploadMessagesSettings Container { get; }

Methods

Sets the text of the cancel button text.

C#
public UploadMessagesSettingsBuilder Cancel(string value)
Parameters:valuestring

The value for Cancel

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the clear files.

C#
public UploadMessagesSettingsBuilder ClearSelectedFiles(string value)
Parameters:valuestring

The value for ClearSelectedFiles

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the drop zone hint.

C#
public UploadMessagesSettingsBuilder DropFilesHere(string value)
Parameters:valuestring

The value for DropFilesHere

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the paused status message of the header.

C#
public UploadMessagesSettingsBuilder HeaderStatusPaused(string value)
Parameters:valuestring

The value for HeaderStatusPaused

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the header status message for uploaded files.

C#
public UploadMessagesSettingsBuilder HeaderStatusUploaded(string value)
Parameters:valuestring

The value for HeaderStatusUploaded

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the header status message for files that are being uploaded.

C#
public UploadMessagesSettingsBuilder HeaderStatusUploading(string value)
Parameters:valuestring

The value for HeaderStatusUploading

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for invalid file extension.

C#
public UploadMessagesSettingsBuilder InvalidFileExtension(string value)
Parameters:valuestring

The value for InvalidFileExtension

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for invalid maximal size.

C#
public UploadMessagesSettingsBuilder InvalidMaxFileSize(string value)
Parameters:valuestring

The value for InvalidMaxFileSize

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for invalid minimal file size.

C#
public UploadMessagesSettingsBuilder InvalidMinFileSize(string value)
Parameters:valuestring

The value for InvalidMinFileSize

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the remove button text.

C#
public UploadMessagesSettingsBuilder Remove(string value)
Parameters:valuestring

The value for Remove

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the retry button text.

C#
public UploadMessagesSettingsBuilder Retry(string value)
Parameters:valuestring

The value for Retry

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the "Select..." button text.

C#
public UploadMessagesSettingsBuilder Select(string value)
Parameters:valuestring

The value for Select

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for failed uploads.

C#
public UploadMessagesSettingsBuilder StatusFailed(string value)
Parameters:valuestring

The value for StatusFailed

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for uploaded files.

C#
public UploadMessagesSettingsBuilder StatusUploaded(string value)
Parameters:valuestring

The value for StatusUploaded

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the status message for files that are being uploaded.

C#
public UploadMessagesSettingsBuilder StatusUploading(string value)
Parameters:valuestring

The value for StatusUploading

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the validation message when a file fails to upload.

C#
public UploadMessagesSettingsBuilder UploadFail(string value)
Parameters:valuestring

The value for UploadFail

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the "Upload files" button.

C#
public UploadMessagesSettingsBuilder UploadSelectedFiles(string value)
Parameters:valuestring

The value for UploadSelectedFiles

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.

Sets the text of the validation message when a file is succesfully uploaded.

C#
public UploadMessagesSettingsBuilder UploadSuccess(string value)
Parameters:valuestring

The value for UploadSuccess

Returns:

UploadMessagesSettingsBuilder

Returns the current UploadMessagesSettingsBuilder instance.