DiagramItem.ParentItem Property

Returns the current item's parent item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public DiagramItem ParentItem { get; }
Public ReadOnly Property ParentItem As DiagramItem

Property Value

Type Description

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


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

See Also