Configure a navigation panel

Configure a navigation panel to switch between different panels at runtime.
  1. In Project view, double-click MainWindow (type).
    The window type opens in the editor.
  2. Right-click MainWindow (type) and select New > Containers > Navigation panel.

    Navigation panel appears in the main window and is not positioned.

  3. In Properties, set Horizontal alignment and Vertical alignment to Stretch.

    The navigation panel occupies the entire height and width of the main window and covers the logo.

  4. Set Top margin to 55.

    The navigation panel no longer covers the logo.

  5. Drag Page1 (type), Page2 (type), Page3 (type), and Page4 (type) onto NavigationPanel1.
Figure 1. Navigation pane with empty pages