DiagramItem.CanDeleteWithoutParent Property

Specifies whether to allow end-users to delete the item placed in a container.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual bool? CanDeleteWithoutParent { get; set; }
<DefaultValue(Nothing)>
<DiagramCategory(DiagramCategory.Behavior)>
Public Overridable Property CanDeleteWithoutParent As Boolean?

Property Value

Type Default Description
Nullable<Boolean>

null

true to allow end-users to delete the item placed in a container; otherwise, false.

Remarks

If the CanDeleteWithoutParent property is set to false, end-users can only delete the item's parent container with its entire content.

Implements

DevExpress.Diagram.Core.IDiagramItem.CanDeleteWithoutParent
See Also