Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Visual Inheritance work in .Net?
Message
From
22/06/2007 08:06:07
 
 
To
21/06/2007 21:20:58
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01234107
Message ID:
01234946
Views:
13
Hi, Bonnie.

>But as Martin also mentioned, most .Net developers are using custom controls and evidently don't inherit (at least visually) from them, so it is, largely, a non issue in .NET circles.
>
>I must have missed that comment from Martin. I don't mean to sound argumentative, but I certainly have a number of custom controls that I inherit from visually and I don't consider this an exception. Most of mine are typically inherited from custom UserControls, but we're still talking about visual inheritance. I'm sure there's plenty of that going on in .NET circles.

Indeed, what I tried to express is that most people use Custom Controls, and then it is normal that you are careful enough to make sure behavior is correct in any circumstance (subclassing, repainting, docking, and so forth). I never tried to imply people don't subclass them. My point was that it is that the way you tipically handle this is different from VFP, where evrything goes in the same bucket (tipically an EXE file).

Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform