wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-fee0016d.md
Gets or sets the template to the visualize background appearance of the DXTabControl. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DataTemplate BackgroundTemplate { get; set; }
Public Property BackgroundTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A System.Windows.DataTemplate object that specifies the corresponding template.
|
Refer to the following topic for more information: How to: Change Tab Appearance in DXTabControl when a Tab Is Selected, Focused Or Hovered.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackgroundTemplate 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#L34
<Grid>
<dx:DXTabControl Name="tabControl" BackgroundTemplate="{StaticResource TabControlBackground}">
<dx:DXTabControl.ItemContainerStyle>
See Also