Skip to main content
Tab

FileManagerSettingsToolbar.ShowDeleteButton Property

OBSOLETE

To display the delete button, add an object of the FileManagerToolbarDeleteButton type to the SettingsToolbar.Items collection. If the collection is empty, the delete button is displayed provided that the SettingsEditing.AllowDelete property is set to true.

Gets or sets a value that specifies whether the delete button is displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
[Obsolete("To display the delete button, add an object of the FileManagerToolbarDeleteButton type to the SettingsToolbar.Items collection. If the collection is empty, the delete button is displayed provided that the SettingsEditing.AllowDelete property is set to true.")]
public virtual bool ShowDeleteButton { get; set; }

Property Value

Type Default Description
Boolean true

true, if the delete button is visible, otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowDeleteButton
ASP.NET Web Forms Controls ASPxFileManager
.SettingsToolbar .ShowDeleteButton
RichEditDocumentSelectorSettings
.ToolbarSettings .ShowDeleteButton
SpreadsheetDocumentSelectorSettings
.ToolbarSettings .ShowDeleteButton
ASP.NET MVC Extensions FileManagerSettings
.SettingsToolbar .ShowDeleteButton

Remarks

If item deleting is available (the FileManagerSettingsEditing.AllowDelete property is set to true), you can manage the visibility of the delete button via the ShowDeleteButton property. If this property is set to false, end-users can delete items using the shortcut key, Delete.

The button’s image can be customized by using the FileManagerImages.DeleteButton property.

See Also