Back to Devexpress

DiagramControl.GetDiagram(DependencyObject) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-getdiagram-x28-system-dot-windows-dot-dependencyobject-x29.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Parameters

NameTypeDescription
dDependencyObject

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

|

Returns

TypeDescription
DiagramControl

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

|

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace