Hi all,
I am working on silverlight 4.0. I am facing a
problem with applying dynamic themes to my application. Please go
through below
and send me your solutions -
Problem:
------------------
In
my
application I have three ResourceDictionary files -
- Default.xaml
- Theme1.xaml
- Theme2.xaml
In all above files I 2 style keys
mentioned below and
three buttons.
- x:Key="ButtonStyle"
- x:Key="LayoutRootGridStyle"
I have given
x:Key="ButtonStyle" to
only one button. My requirement is if click on three buttons all the
buttons and
text boxes styles are changing. but the both x:key styles are not
changing.
Please tell me the problem and solution asap.
In my main
application I
am using may borders and grids if I give the styles with out key the
style
applying to all. I don't want that. I just want to apply styles to given
key
only.
Thanks in advance.