Skip to content

SimpleTheme: How to specify an exact background color for only an individual disabled ListBox? #15677

Answered by jp2masa
elgonzo asked this question in Q&A
Discussion options

You must be logged in to vote

You have to change the opacity:

<Style Selector="^:disabled /template/ Border#border">
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}" />
</Style>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elgonzo
Comment options

Answer selected by elgonzo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants