如题,需要自定义控件。一个很奇怪的问题。
Selector继承自ItemsControl
而FlipView继承Selector
我能继承FlipView,也可以继承ItemsControl,但不能继承Selector,Selector中没有构造方法,如果不能继承,那请问FlipView、ListViewBase是怎么继承的?
Hi,
这应该是by-design的,换句话说,这种情况应该是selector的构造函数是internal的,只能够用于派生微软自己的控件。因此你不能继承selector
Aaron MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.