Click Button from Generic.xaml?

前端 未结 2 1469
太阳男子
太阳男子 2021-01-14 09:35

I am writing a custom control in Silverlight and I am having issues getting my Button to click to the Generic.xaml file. This does not work:

    

        
2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-14 10:38

    Although is it possible I recommend using Commands so the designer who replaces the template is free to pick other controls and events to bind the logic to.

提交回复
热议问题