Skip to main content

DiagramControl.SetDrawingContext(DependencyObject, DiagramDrawingContext) Method

Sets the value of the DiagramControl.DrawingContext attached property for the specified object.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public static void SetDrawingContext(
    DependencyObject obj,
    DiagramDrawingContext value
)

Parameters

Name Type Description
obj DependencyObject

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

value DiagramDrawingContext

A DiagramDrawingContext enumeration value that specifies the value to be assigned to the DiagramControl.DrawingContext property.

See Also