❔ WPF How do I make transparency only for the gradient background, and not for all elements?
At 0.95 transparency, the text looks fine. When the transparency is 0.35, the text for some reason also becomes transparent
4 Replies
Opacity is inherited from the parent
The easiest way would be to have a sibling be translucent
Some sort of, say
https://stackoverflow.com/questions/10636502/apply-opacity-for-grid-and-dont-apply-for-its-children-controls
https://social.msdn.microsoft.com/Forums/en-US/1a6386b1-0a8e-4f57-99a3-32133e9d55af/is-it-possible-to-set-opacity-only-for-parent-layout-and-not-for-child-elements?forum=xamarinforms
Thx ❤️
Setting translucent shades to background colors helped me.
https://stackoverflow.com/questions/15852122/hex-transparency-in-colors/17239853#17239853
Stack Overflow
Hex transparency in colors
I'm working on implementing a widget transparency option for my app widget although I'm having some trouble getting the hex color values right. Being completely new to hex color transparency I sear...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.