Skip to main content

DiagramControl.GetDiagram(DependencyObject) Method

Gets the value of the DiagramControl.Diagram attached property from a given object.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public static DiagramControl GetDiagram(
    DependencyObject d
)

Parameters

Name Type Description
d DependencyObject

An object whose DiagramControl.Diagram property’s value is to be returned.

Returns

Type Description
DiagramControl

A DiagramControl value that specifies the value of the DiagramControl.Diagram attached property for the specified object.

See Also