KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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.
Tags (comma-separated)
Save Edits
Cancel