xaml - How do I set the text opacity different from the background opacity in a Silverlight textbox -


my xaml contains in part

<textbox text="projected"          textalignment="center"          fontsize="11"          fontweight="bold"          foreground="white"          background="#ff3376b8"          opacity="0.65" /> 

however, causes text 65% opaque;

how set text 100% opaque allow background 65%?

do adjusting alpha channel of background property.

for example:

<textbox text="projected"          textalignment="center"          fontsize="11"          fontweight="bold"          foreground="white"          background="#883376b8" /> 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -