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


public static void SetDrawingContext(
    DependencyObject obj,
    DiagramDrawingContext value
Public Shared Sub SetDrawingContext(
    obj As DependencyObject,
    value As DiagramDrawingContext


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