Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: (untagged)
Hi guys, please how could I change the position of the elements in the UI, or choose a different design when the application loads?

It could be done using User Controls for each design, but the bad thing about this solution is that the same code will be repeated and I do not want that.

Please what would be the best practices to achieve this, it should be noted that the controls must have a name to use it in the code.

Thanks in advance.

Summary: This is what I want to achieve
Like these pictures

What I have tried:

XML
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="{Binding LeftButtonColWidth}"/>
    <ColumnDefinition Width="{Binding RightMainPanelColWidth}"/>
</Grid.ColumnDefinitions>

I Wish: <Grid design ="{Load DesignN}" ...>
Posted
Updated 25-May-17 19:53pm

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900