How to Access a Button present inside a Custom Control, from the implementing page?

前端 未结 4 2088
感情败类
感情败类 2021-01-23 00:53

I have my generic.xaml containing the following code:



   

          

        
4条回答
  •  無奈伤痛
    2021-01-23 01:16

    Sorry, but you're doing it wrong. There's no good reason why you should have a reference to elements inside a DataTemplate IMO. [...Read more at this forum post...]

提交回复
热议问题