Back to Devexpress

DiagramControl.SetDrawingContext(DependencyObject, DiagramDrawingContext) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-setdrawingcontext-x28-system-dot-windows-dot-dependencyobject-devexpress-dot-xpf-dot-diagram-dot-diagramdrawingcontext-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Parameters

NameTypeDescription
objDependencyObject

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

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace