Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does design time and runtime size differ?
Message
From
27/10/2009 14:08:17
 
 
To
27/10/2009 10:59:50
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:
01431690
Views:
42
I think the Grid was intended, to a certain extent, to give an approximation of WinForms behaviour. I hardly use it anymore. If you want exact size and positioning then the Canvas control is the one to use - but that is *completely* inflexible.

>I think you're missing some of the point of WPF. You don't place and size controls like you do with WinForms or VFP. You place controls inside a grid and let things resize as needed.
>
>>Alan
>>
>>You took the words out of my mouth. That is exactly what is frustrating me.
>>
>>I just started in WPF and there is so much hassle with a simple form and 2 controls - no code as yet. I dread to think what would happen for a more complicated form if I have to use trial and error to place and size every control and where simply adding a control, changes the XAML and affects other controls. That is a Nightmare I do not want to even think about.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform