How can I use multiple ControlTemplates in a XAML-file?

后端 未结 1 778
既然无缘
既然无缘 2021-01-23 05:57

I\'m having this annoying problem with WPF that I can\'t get my head around. What I\'m trying to create, is a very basic implementation of a drawing program (it\'s a school assi

1条回答
  •  太阳男子
    2021-01-23 06:08

    ControlTemplate can only contain one child. Try and change it to a Canvas instead

            
    

    0 讨论(0)
提交回复
热议问题