A newer version of this page is available. Switch to the current version.

DiagramItem.CanDeleteWithoutParent Property

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual bool? CanDeleteWithoutParent { get; set; }

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.

See Also