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.v20.1.dll

Declaration

public static DiagramControl GetDiagram(
    DependencyObject d
)
Public Shared Function GetDiagram(
    d As DependencyObject
) As DiagramControl

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