WPF reference style in resource dictionary and use triggers
- by Taylor
I have a style defined in a resource dictionary that applies to
all ComboBox controls.
Within the ComboBox control, I reference the style like so:
Style="{DynamicResource MyComboBoxStyle}"
This works ok.
I want to be able to add some triggers to some of the ComboBox controls.
What is a good way to use the style referenced as a dynamic resource yet still be able to add triggers to some of the ComboBox controls?