DiagramItem.ParentItem Property

Returns the current item's parent item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[Browsable(false)]
public DiagramItem ParentItem { get; }
<Browsable(False)>
Public ReadOnly Property ParentItem As DiagramItem

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.XtraDiagram.DiagramRoot object.

See Also