How can I attach two attached behaviors to one XAML element?

后端 未结 2 795
自闭症患者
自闭症患者 2021-01-07 17:00

I\'ve implemented the attached command behavior pattern found here and it works well to allow e.g. a Border to have a left- or right-click event that fires

2条回答
  •  不思量自难忘°
    2021-01-07 17:40

    The link you sent contains that very answer. You can use the CommandBehaviorCollection.Behaviors capabilities in ACB v2.

       
           
                   
                   
           
           
       
    

提交回复
热议问题