Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does design time and runtime size differ?
Message
De
26/10/2009 17:14:55
 
 
À
26/10/2009 14:50:32
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:
01431583
Vues:
39
>>>I'm still lost, John because that doesn't explain what he was getting. His complaint is, if the xaml is the same, it should display the same in design vs. runtime.
>>
>>I agree absolutely. The xaml is the xaml. Why should design and runtime interpret it differently. If there's a problem with the xaml, it should be a problem both in the editor and in the runtime.
>
>In a simple case you are right. But if, for example, you use the designer for a UserControl and subequently embed that in another control then the Measure/Arrange process may give an entirely different appearance - as, indeed, it should.

You have my attention. I'll have to think about that one. My first instinct is that the designer should interpret things properly, or if not 'properly', then at least in the same way as the runtime. But, I'll ponder on that for a bit.

>>
>>>
>>>>I should have said "in his xaml"...there is something in the xaml causing it to display differently...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform