If course you can do it. All UI libraries are designed to lay out any reasonable number of controls on the same window or form. For this purpose, there is a number of containers where you can put other controls; in WPF, these are
System.Windows.Controls.DockPanel
,
System.Windows.Controls.Grid
and more, they are derived from
System.Windows.Controls.Panel
, see
http://msdn.microsoft.com/en-us/library/system.windows.controls.panel.aspx#inheritanceContinued[
^].
A very good variant is the class
System.Windows.Controls.TabControl
which you can use to put controls on different tab pages, see
http://msdn.microsoft.com/en-us/library/system.windows.controls.tabcontrol.aspx[
^].
However, I look at your code and doubt that advice like that could help you at all.
For example, you had enough patience to insert 104 nearly identical lines like
<ColumnDefinition Width="…" />
or
<RowDefinition Width="…" />
. (By the way, how can you imagine the user who would look at so many columns at the same time?) You added them manually and edited the
Width
attribute of each item manually as if you would be really able to support it and change widths if the strings are changed. This is hopeless.
What you are trying to do has nothing to do with programming. You are doing too much manual job which has not value. You are trying to use hands instead of brain. This is something directly opposite to programming. I don't know where can you start but you need to learn programming, maybe from the very beginning. There is no other way.
And first thing you should understand: the programming is not done using the Designer. Programming is not done by clicking mouse. Programming is not done by repeating copy and paste operation. It is not done by repeating any line several times. Programming is something directly opposite, fundamentally using generalization and abstraction.
You cannot continue and complete this project the way you are doing right now. You cannot continue without going back to based. Listen to a good friendly advice: don't waste your time, go back to the very basics.
http://en.wikipedia.org/wiki/Don%27t_repeat_yourself[
^],
http://norvig.com/21-days.html[
^].
—SA