Advanced Forum Search Results
-
Darn useful little snippet. Thanks for sharing.
Tips: set menu grid background to transparent, combine with VisualTree traversal to get the right parent control to perform the transform with (especially useful for Prism apps)
-
<Line X1="0" Y1="0" X2="0" Y2="1" Stretch="Fill" Stroke="#FF000000" />
Works in both WPF and Silverlight.
If the X's are 0, it's a vertical line. If the Y's are 0, it's horizontal. Use X1=0 Y1=0 X2=1 Y2=1 for diagonal from top left to bottom right, or reverse ...
-
Hi all,
I too had this issue - trying to apply styles or change background colors always resulted in the default white/silver button with a slight hue alteration depending on the brush I tried to apply. I "solved" it by making a full copy of the button control template instead of just creating a brush resource. This is easy ...