I'm in the process of learning how to use MVVM well in WPF. I understand that there is a ViewModel for every View, thus I want to create an abstract class called ViewBase. But how can my views inherit from ViewBase?
Asked
Active
Viewed 1,097 times
0
-
2http://stackoverflow.com/q/225878/440030 – Reza ArabQaeni Dec 25 '11 at 18:11
-
thanks RedHat, that seems to answer my question correctly – Dzung Nguyen Dec 25 '11 at 18:22
-
Do you want me to close this as a duplicate? – BoltClock Dec 26 '11 at 11:54
-
yes, definitely. Thanks BoltClock for your work. – Dzung Nguyen Dec 26 '11 at 14:57
-
Does this answer your question? [How to correctly inherit from a usercontrol defined in XAML in Silverlight](https://stackoverflow.com/questions/225878/how-to-correctly-inherit-from-a-usercontrol-defined-in-xaml-in-silverlight) – starball Oct 19 '22 at 07:35