UploadFileInfo.Name Property

Returns the file name.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

public string Name { get; }

Property Value

Type Description
String

The file name.

Remarks

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

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