Design display hierarchy and create navigation.
Home → Tutorials → User Interactions Tutorial → Displays Module Tutorial → Layouts and Navigation Tutorial
This Tutorial Teaches you to:
- Create and configure new Layouts
- Change layouts in runtime
1. Creating new Layout
- Go to Displays → Layouts
- Click on Insert New
- Layout Name: LayoutDemo
- Press OK button
- On the Panels, you will be able to see different formats, that can be edited by changing the "Edit" option.
- Change the Panel to Content
- In the table on the bottom, you can choose different displays to be under Page, Mobile, MobileLandscape (if needed, create different displays to use here)
2. Changing Layouts in Runtime
- In the Displays → Draw, add two buttons
- Double-click the first button, and under Label Text add: Startup Layout
- Go to Dynamics, set Actions and choose OpenLayout
- In Layout, type Startup
- Repeat the procedure for the second button, but this time, the configuration is below:
- Label Text: Layout Demo
- Layout: LayoutDemo
- Run the solution
- Click the buttons to see the layout changing
In this section...