Click or drag to resize

ImportGetDataContext Method

Gets the data context type.

Namespace:  TomsToolbox.Wpf.Composition
Assembly:  TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
[AttachedPropertyBrowsableForTypeAttribute(typeof(FrameworkElement))]
public static Type? GetDataContext(
	FrameworkElement obj
)

Parameters

obj
Type: System.WindowsFrameworkElement
The object.

Return Value

Type: Type
The data context type.
See Also