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.2.dll
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 |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ShowDeleteButton |
---|---|---|
ASP.NET MVC Extensions | FileManagerSettings |
|
ASP.NET Web Forms Controls | ASPxFileManager |
|
RichEditDocumentSelectorSettings |
|
|
SpreadsheetDocumentSelectorSettings |
|
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.