Skip to main content

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


public static void SetDiagram(
    DependencyObject obj,
    DiagramControl value


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