wpf-devexpress-dot-xpf-dot-ribbon-dot-backstageviewcontrol-98536754.md
Gets or sets a style applied to the area where item captions are displayed. This is a dependency property.
Namespace : DevExpress.Xpf.Ribbon
Assembly : DevExpress.Xpf.Ribbon.v25.2.dll
NuGet Package : DevExpress.Wpf.Ribbon
public Style TabPaneStyle { get; set; }
Public Property TabPaneStyle As Style
| Type | Description |
|---|---|
| Style |
A Style object, applied to the area where item captions are displayed.
|
Target Type : ContentControl.
The following example adds a red frame to a BackstageViewControl’s tab pane:
<dxr:RibbonControl.ApplicationMenu>
<dxr:BackstageViewControl>
<dxr:BackstageButtonItem Content="New" Glyph="{dx:DXImage Image=New_16x16.png}"/>
<dxr:BackstageButtonItem Content="Open" Glyph="{dx:DXImage Image=Open_16x16.png}" />
<dxr:BackstageTabItem Content="Recent">
<dxr:BackstageTabItem.ControlPane>
<ContentControl/>
</dxr:BackstageTabItem.ControlPane>
</dxr:BackstageTabItem>
<dxr:BackstageButtonItem Content="Close" Glyph="{dx:DXImage Image=Close_16x16.png}" />
<dxr:BackstageViewControl.TabPaneStyle>
<Style TargetType="ContentControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ContentControl">
<Border BorderBrush="Red" BorderThickness="2">
<ContentPresenter/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</dxr:BackstageViewControl.TabPaneStyle>
</dxr:BackstageViewControl>
</dxr:RibbonControl.ApplicationMenu>
See Also