Back to Devexpress

DiagramItem.CanDeleteWithoutParent Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramitem-8c8c285c.md

latest1.5 KB
Original Source

DiagramItem.CanDeleteWithoutParent Property

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

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

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

Property Value

TypeDefaultDescription
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

DiagramItem Class

DiagramItem Members

DevExpress.XtraDiagram Namespace