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


public static void SetDiagram(
    DependencyObject obj,
    DiagramControl value
Public Shared Sub SetDiagram(
    obj As DependencyObject,
    value As DiagramControl


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