Skip to main content

DiagramItem.CanDeleteWithoutParent Property

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

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