Skip to main content
A newer version of this page is available. .

DiagramItem.ParentItem Property

Returns the current item’s parent item.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, DevExpress.Wpf.Diagram

Declaration

[Browsable(false)]
public DiagramItem ParentItem { get; }

Property Value

Type Description
DiagramItem

A DiagramItem object that represents the current item’s parent item.

Remarks

If the current item is contained in a container, the ParentItem property returns the DiagramContainer object representing this container. Otherwise, it returns the DevExpress.Xpf.Diagram.DiagramRoot object.

See Also