I am using Accordion from WPFToolkit and wanted to remove the accordion item arrow also when i am trying to edit it in Expression Blend4 then it does not allow me over there. So if anybody can help with a sample template how can i hide the arrow and the default blue background.
Thanks in advance.
You can just edit the control style. This example is from Silverlight toolkit, but I’d bet its all the same principals.
1) Remove Arrow
I have a file called toolkitStyles.xaml in which I have the following style defined.
Inside this style (you will have to hunt for it), you’ll find code similar to this
Comment it out, and then to a search on the x:Name (it might not be “arrow” in the WPFToolkit) and remove anything that references it so that you can build it.
2) Remove blue background
Find the style like
Find the line like this. It is probably near the bottom of the style.
(Please note in mine I have already set Background=”Transparent”, yours will either be blue or a templatebinding, either way just set it to transparent or whatever color you want it)