Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange ListView behaviour
Message
De
19/12/2006 00:33:31
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01175169
Message ID:
01178788
Vues:
17
Sorry for the late reply Pete ... I've been on the road for two weeks straight and I'm trying to get caught up with stuff here.

The "problem" with DesignMode isn't just limited to the ListView and it really isn't a problem. You just have to realize that the DesignMode property isn't set in the constructor. Here's an explanation of it if you're interested:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/designtimedebugging.asp

Search for "DesignMode" or read the whole article ... it has some interesting topics.

~~Bonnie




>Hi Bonnie, I did just that and it worked, another thing I noticed whilst I was fiddling with this class is the "Designmode" property doesn't seem to work either ! I placed a messagebox in the constructor to prove this
>
>
>if(this.DesignMode)
>    MessageBox.Show("In design mode");
>else
>    MessageBox.Show("Not in design mode");
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform