Skip to main content
A newer version of this page is available. .

UploadFileInfo.Name Property

Returns the file name.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public string Name { get; }

Property Value

Type Description
String

The file name.

Remarks

<DxUpload Name="myFile" UploadUrl="https://localhost:10000/api/Upload/Upload/" 
          FileUploadStarted="@OnFileUploadStarted"
          ShowFileList="false">
</DxUpload>

@code {
    void OnFileUploadStarted(FileUploadEventArgs e) {
        // ...
        var Name = e.FileInfo.Name;
        // ...
    }
}
See Also