Skip to main content

DiagramControl.GetDrawingContext(DependencyObject) Method

Gets the value of the DiagramControl.DrawingContext attached property from a given object.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public static DiagramDrawingContext GetDrawingContext(
    DependencyObject obj
)

Parameters

Name Type Description
obj DependencyObject

An object whose DiagramControl.DrawingContext property’s value is to be returned.

Returns

Type Description
DiagramDrawingContext

A DiagramDrawingContext value that specifies the value of the DiagramControl.DrawingContext attached property for the specified object.

See Also