99
I have crated a Blend behavior for Button. How can I set that to all of my Buttons in the app.
<Button ...>
<i:Interaction.Behaviors>
<local:MyBehavior />
</i:Interaction.Behaviors>
</Button>
However, when I try:
<Style>
<Setter Property="i:Interaction.Behaviors">
<Setter.Value>
<local:MyBehavior />
</Setter.Value>
</Setter>
</Style>
I get the error
The property "Behaviors" does not have an accessible setter.