We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TabControl using TabControlPivotStyle has Foreground set to PivotHeaderItemForegroundUnselected (a light grey colour) in the root of the Style.
TabControl
TabControlPivotStyle
Foreground
PivotHeaderItemForegroundUnselected
This causes all the text items in the TabItem to inherit this colour as foreground.
TabItem
Solution is to remove setting the foreground here and instead set it in the triggers, e.g.:
<!-- Unselected --> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsSelected" Value="False" /> <Condition SourceName="Border" Property="IsMouseOver" Value="False" /> </MultiTrigger.Conditions> <Setter TargetName="SelectedPipe" Property="Visibility" Value="Collapsed" /> <Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource PivotHeaderItemForegroundUnselected}" /> </MultiTrigger>
The text was updated successfully, but these errors were encountered:
a208205
Thanks for the report and the solution. Actually DefaultTabItemStyle had the same issue, just not as visible. Both have been fixed now.
DefaultTabItemStyle
Sorry, something went wrong.
No branches or pull requests
TabControl
usingTabControlPivotStyle
hasForeground
set toPivotHeaderItemForegroundUnselected
(a light grey colour) in the root of the Style.This causes all the text items in the
TabItem
to inherit this colour as foreground.Solution is to remove setting the foreground here and instead set it in the triggers, e.g.:
The text was updated successfully, but these errors were encountered: