I'm reasonably new to C# and even newer to WPF projects in C#, i'm having a lot of trouble getting to grips with how to use the template property and its doing m head in. Firstly an explanation of what I am trying to achieve:
I am working on a very large project and thought it would be tidy to have any templated types (for visual styles) stored in an external dll (for reusabilities sake), the first thing I have come to that I would like for a visual style is a transparent button (setting borderbrush and background to transparent still leaves a strange chrome effect behind the button (tedious)).
I have tried following various guides on the internet but am now getting a vague error (Cannot unset a Setter value) of which there is documentation.
I really do need to get to grips (especially with the visual aspect) as quick as possible.
The solution I would prefer but dont think is possible would be to just say display the button as a label with transparent background and border (while still keeping the button events) but after looking at a post on another website it made it seem like this was not possible.
Any help would be greatly appreciated,