DxUpload.ShowSelectButton Property
Specifies whether to show the select button that invokes the open file dialog.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v26.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(true)]
[Parameter]
public bool ShowSelectButton { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
The Upload displays the Select File button that invokes the Open File dialog.

Set the ShowSelectButton property to false to hide this button. Use the ExternalDropZoneCssSelector and ExternalDropZoneDragOverCssClass to implement drag and drop functionality.
Note that the following code snippet uses Bootstrap classes. To render elements correctly, enable the UseBootstrapStyles option in theme settings.
<div id="overviewDemoDropZone" class="card custom-drop-zone bg-light">
<span class="drop-file-icon icon-margin"></span>
<span>Drag and Drop File Here</span>
</div>
<DxUpload Name="myFile"
UploadUrl="https://localhost:10000/api/Upload/Upload/"
ShowSelectButton="false"
ExternalDropZoneCssSelector="#overviewDemoDropZone"
ExternalDropZoneDragOverCssClass="custom-drop-zone-hover" >
</DxUpload>

You can also use the ExternalSelectButtonCssSelector property to implement an external select button.