| Visual Basic (Declaration) | |
|---|---|
Public Property AllowDelete As DefaultableBoolean | |
| C# | |
|---|---|
public DefaultableBoolean AllowDelete {get; set;} | |
When true, if the user pressed the "Delete" key while the UltraTree has focus, the tree will automatically respond. By default, the tree will automatically display a confirmation dialog. If it is accepted, all selected nodes will be deleted. To change or remove this dialog, see the UltraTree.BeforeDelete event.
When false, pressing 'Delete' will have no effect on the node.
The following sample code shows how to allow deletion of nodes.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; | |
