Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window Inheritance
Message
From
08/09/2011 09:42:21
 
 
To
08/09/2011 09:30:58
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01522992
Message ID:
01523002
Views:
50
>Hi Viv,
>
>hmmm, What does this mean?
>
>> with WPF, you should never use base classes to impose any visual appearance on derived classes.

Well, put it this way: I can't think of any reason why you would do so when you can use Styles or Control Templates; hard-coding appearance by using a base class pretty much negates those benefits of XAML.....

TBH, since I work a lot with MVVM, I can't think of many reasons to define behaviour within the base class of a visual object either....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform