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

UploadFileInfo.Type Property

Returns the file type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public string Type { get; }

Property Value

Type Description
String

The file type.

Remarks

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

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