I am trying to learn WPF.. Although, Im having trouble with the layouts and which one to choose. I dont want to use canvas because the whole point is the get the hang of WPF..
I have decided to transfer one of my simple programs (in Windows Forms) to WPF..
I have attached the picture of the simple, 1 page form.. Can someone suggest how I could replicate this in WPF?

Form layouts are an interesting predicament. They usually involve a LOT of boilerplate, there’s many techniques for removing boilerplate code in form layouts but they’re fairly advanced WPF Concepts.
The Simplest Solution for you is going to be a
StackPanelfor laying out your sections and putting aGridinside yourGroupBoxcontrols.The Grid can be setup with 4 colunms:
With a global style in the resources of your stack panel you can define default visual behaviour so the items dont end up touching:
The Above Style will put a 5px margin on the right & bottom of all
TextBoxcontrols under it in the visual tree.This is the absolute simplest (read: straight forward) approach to making this ui in WPF. It is by no means the best, or the most maintainable, but it should be doable in about 10 minutes max.
There are other methods out there for emulating a form layout with WPF like this one or by using other combinations of basic layout components.
For example:
Different approaches have different drawbacks, some are flex width, some are not, some play nicely with colunms, some don’t. I’d suggest experimenting with the many subclasses of
Panelto see what they all do, or you can even roll your own.