Re: Control.DesignMode issues.
Mike Andrews <[email protected]> Thu, 13 Dec 2007 16:28:57 -0600
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
I'm using it in Framework 2.0 so it's no different. On Dec 13, 2007 4:11 PM, Andy Langowitz <[email protected]> wrote: > I, like you have been surprised in the past by DesignMode returning false > even in design mode. My recollection is that DesignMode does not return > true until after a certain stage of the Control's life cycle. In > particular, DesignMode always returns false in the constructor, and it may > even still be false in the Load event (I may be wrong about that). > > Warning: I last dealt with this in .NET 1.1, so I don't know if it has > changed in .NET 2.0, let alone .NET 3. >