Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does design time and runtime size differ?
Message
De
27/10/2009 11:01:15
 
 
À
27/10/2009 09:44:43
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Divers
Thread ID:
01431413
Message ID:
01431663
Vues:
51
Think of the resizing behavior more like HTML than a Winform.

>As I explained, I did not set any properties at all, especially explicitly. I just dropped a couple of controls on a form. I resized the WIDTH of the textbox but did not change anything with the button, other than reposition it visaually to align both top and bottom with the textbox.
>
>Yet at runtime, it took on a life of its own and properties of its own, that I did not set, although these properties were wrong.
>
>Since I am just getting to grips with this WPF I expected it to behave like windows forms form, but it does not.
>
>I guess I will just plod along and hope that they fix this in 2010.
>
>Thanks
>
>Bernard
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform