开发者

C# - Silverlight - MVVM

I wa开发者_StackOverflow中文版nt to use UserControl as the base for my views, but I cannot add functionality to my views because they are based on UserControl.

How do I create my own view class by using a subclassed version of UserControl.


You put them in the subclassed version of UserControl, and implement an interface which denotes the abilities the class has, so the ViewModel can be used with any type of View by simply using the interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜