wpf-devexpress-dot-xpf-dot-core-dot-dxtabitem-21289772.md
Gets or sets the template to visualize the appearance of the header of the focused DXTabItem.This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DataTemplate FocusedBackgroundTemplate { get; set; }
Public Property FocusedBackgroundTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A System.Windows.DataTemplate object that specifies the corresponding template.
|
Refer to the Appearance Customization topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FocusedBackgroundTemplate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-tabcontrol-customize-background-based-on-tab-state/CS/DXTabControlExample/MainWindow.xaml#L40
<Setter Property="SelectedBackgroundTemplate" Value="{StaticResource TabItemSelectedBackground}"/>
<Setter Property="FocusedBackgroundTemplate" Value="{StaticResource TabItemFocusedBackground}"/>
</Style>
See Also