I have a title bar, and a content section. (title bar is the one from GHI)
However, I would like to have some sort of settings page with buttons and text. (buttons are in fact Bitmaps in the style of a button)
If I set the content in a stackpanel with orientation horizontal, it’s displayed as mentioned above. If I include the title, it gets messed up. (content not visible)
However, what’s the best way to do this? Using 2 stack panels does not seem to work either?
Is there a trick?
stack_Content = new StackPanel(Orientation.Horizontal);
stack_Title = new StackPanel(Orientation.Horizontal);
stack_Window = new StackPanel(Orientation.Vertical);
Create 3 stack panels. stack_Window is the child of the UIElement. Inside stack_Window, the two other stacks should be loaded to make this work.