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

Declaration

public static DiagramDrawingContext GetDrawingContext(
    DependencyObject obj
)
Public Shared Function GetDrawingContext(
    obj As DependencyObject
) As DiagramDrawingContext

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