[Mono-list] SPAM-LOW: Re: Inheriting from System.Windows.Forms.TextBox

Jonathan Pobst monkey at jpobst.com
Thu Nov 20 15:30:40 EST 2008

Charlie Poole wrote:
> It also seems to be a design bug. What's the point of having
> a public abstract class if it's written in such a way that you
> can only extend it internally?

Yeah, that's pretty ugly.  MSDN says: "You do not typically inherit from 
TextBoxBase. To create your own text control class, inherit from TextBox 
or RichTextBox.", but that's not gonna stop people from doing it.   :)

I added a default implementation for this in r119502, so it should be 
safe to inherit from on Mono now.


More information about the Mono-list mailing list