DiagramItem.ParentItem Property

Returns the current item's parent item.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.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.Xpf.Diagram.DiagramRoot object.

See Also