|  | ImportGetDataContext Method | 
            Gets the data context type.
            
Namespace: TomsToolbox.Wpf.CompositionAssembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
 Syntax
Syntax[AttachedPropertyBrowsableForTypeAttribute(typeof(FrameworkElement))]
public static Type? GetDataContext(
	FrameworkElement obj
)
<AttachedPropertyBrowsableForTypeAttribute(GetType(FrameworkElement))>
Public Shared Function GetDataContext ( 
	obj As FrameworkElement
) As Type
Parameters
- obj  FrameworkElement
- The object.
Return Value
TypeThe data context type.
 See Also
See Also