| 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
)
<AttachedPropertyBrowsableForTypeAttribute(GetType(FrameworkElement))>
Public Shared Function GetDataContext (
obj As FrameworkElement
) As Type
Parameters
- obj
- Type: System.WindowsFrameworkElement
The object.
Return Value
Type:
TypeThe data context type.
See Also