Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does design time and runtime size differ?
Message
From
26/10/2009 17:14:55
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01431413
Message ID:
01431583
Views:
38
>>>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...
Previous
Reply
Map
View

Click here to load this message in the networking platform