Back to Devexpress

Delete Button

aspnet-8908-components-file-management-file-manager-visual-elements-toolbar-elements-delete-button.md

latest1.6 KB
Original Source

Delete Button

  • Apr 06, 2021

The Delete Button is a toolbar item that is used to delete files and folders.

The table below lists the main members that affect button appearance and functionality.

CharacteristicsMembers
AccessibilityFileManagerSettingsEditing.AllowDelete
AppearanceFileManagerStyles.ToolbarItem
ImageFileManagerImages.DeleteButton

The toolbox displays the Delete Button if the FileManagerSettingsToolbar.Items collection contains an object of the FileManagerToolbarDeleteButton type. In this case, the FileManagerSettingsEditing.AllowDelete property controls button availability.

If the FileManagerSettingsToolbar.Items collection is empty, the FileManagerSettingsEditing.AllowDelete property controls the Delete Button visibility.