This must be so simple but I can’t do it: if I put a textblock in a container and make the container’s opacity < 1, the text inherits that opacity, no matter whether I try to override it in the textblock. How can I keep the text 100% opacity while in a semii-transparent container?
<Grid x:Name='LayoutRoot'> <Border Background='red' Opacity='0.5'> <TextBlock Text='TextBlok' Opacity='1'/> </Border> </Grid>
Will this do the trick?
Setting the background to be transparent, not the whole Border element…