Click or drag to resize

DataTemplateGetRole Method

Gets the role associated with a data template.

Namespace:  TomsToolbox.Wpf.Composition.XamlExtensions
Assembly:  TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
[AttachedPropertyBrowsableForTypeAttribute(typeof(ContentControl))]
[AttachedPropertyBrowsableForTypeAttribute(typeof(TabControl))]
[AttachedPropertyBrowsableForTypeAttribute(typeof(ContentPresenter))]
public static Object? GetRole(
	FrameworkElement obj
)

Parameters

obj
Type: System.WindowsFrameworkElement
The object.

Return Value

Type: Object
The role.
See Also