Skip to main content
A newer version of this page is available. .

DiagramControl.SetDiagram(DependencyObject, DiagramControl) Method

Sets the value of the DiagramControl.Diagram attached property for a given object.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public static void SetDiagram(
    DependencyObject obj,
    DiagramControl value
)

Parameters

Name Type Description
obj DependencyObject

An object for which the DiagramControl.Diagram attached property is set.

value DiagramControl

A DiagramControl value that specifies the value to be assigned to the DiagramControl.Diagram property.

See Also