I\'m trying to create a custom control - a button - which will have multiple styles applied to it depending on the value of a property within the data context.
What
It seems that you need to use DataTrigger class. It allows you to apply different styles to your button based on it's content.
For example following style will change button's background property to red based on value of data context object's property