Back to Devexpress

FileUploaderBuilder.UploadButtonText(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-fileuploaderbuilder-dot-uploadbuttontext-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

FileUploaderBuilder.UploadButtonText(String) Method

The text displayed on the button that starts uploading. Mirrors the client-side uploadButtonText option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FileUploaderBuilder UploadButtonText(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
FileUploaderBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().FileUploader()
    .UploadButtonText("My text")
)

See Also

FileUploaderBuilder Class

FileUploaderBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace