Back to Devexpress

DiagramControl.GetDrawingContext(DependencyObject) Method

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

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Parameters

NameTypeDescription
objDependencyObject

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

|

Returns

TypeDescription
DiagramDrawingContext

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

|

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace