Tab

FileManagerSettingsToolbar.ShowDeleteButton Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[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.")]
[DefaultValue(true)]
public virtual bool ShowDeleteButton { get; set; }
<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.")>
<DefaultValue(True)>
Public Overridable Property ShowDeleteButton As Boolean

Property Value

Type Default Description
Boolean

true

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

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