Skip to main content

DiagramItem.GetDiagram() Method

Gets the diagram control that is the owner of the diagram item.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramControl GetDiagram()

Returns

Type Description
DiagramControl

A DiagramControl object that is the owner of the DiagramItem.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetDiagram() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also