Assembly: PresentationFramework (in PresentationFramework.dll)
One of the following: StaticResource, or DynamicResource. See XAML Resources.
The key that identifies the template being requested. The key refers to an existing resource in a ResourceDictionary.
Property element syntax is technically possible, but not recommended. See Inline Styles and Templates.
Legacy Code Example
The following example creates two DataTemplate objects. The DataTemplate called contentTemplate is assigned to the of the TabControl and the DataTemplate called tabItemTemplate is assigned to the ContentTemplate of the second TabItem. All TabItem objects contain the white rectangle defined in contentTemplate, except the second TabItem, which has a gray rectangle, as defined in tabItemTemplate.Code snippet is not found. Confirm that the code snippet name 'TabControlContentTemplate_snip' is correct.
Available since 3.0