Okay, I know this has been asked before, but the solutions to previously asked questions haven’t helped me. I’ve never made an app in XAML/WPF before and I feel really stupid when I try to learn it, but with the release of Windows 8 release preview, it is looking like I have to learn it.
Are there any resources that you would recommend to somebody as stupid as myself?
Thank you all
Specifically, my main trouble is not knowing how to properly position/align things on a Window in XAML. I find it extremely difficult to understand. I’m used to Docking things, and so forth, but I don’t see any dock options for XAML. I’m also used to absolute positioning – or positioning by relativity from the edge of the window/screen – but that way doesn’t work in XAML from what I’ve tried.
The key to this is understanding how the Layout System works in Xaml.
Once you understand the difference in the overall approach to layout, then understanding the individual panels and alignment make most things approachable.
The main difference is that the container typically handles the layout of the children. Instead of docking or aligning an element, you typically have the parent handle the layout, and use attached properties (ie:
Grid.Row) to position the child within the parent.This makes it far simpler to handle resolution independence, though it takes a bit of getting used to at first.