Skip to main content

BackstageTabItem.SelectedTextStyle Property

Gets or sets a style applied to a tab item when it’s selected. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v23.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public Style SelectedTextStyle { get; set; }

Property Value

Type Description
Style

A Style object applied to a tab item when it’s selected.

Remarks

TargetType: ContentControl.

The following example illustrates using a SelectedTextStyle in order to change a tab item’s text color when it’s selected.

<Window.Resources>
    <Style x:Key="myStyle" TargetType="ContentControl">
        <Setter Property="Foreground" Value="Blue" />
    </Style>
</Window.Resources>

<dxr:BackstageTabItem Content="Help" SelectedTextStyle="{StaticResource myStyle}">
...
See Also