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.v21.1.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