Page Tree
Other Releases
A layout defines the size of the application window and the basic arrangement of display components in the runtime application. Be sure to plan how you want to use displays. For example, consider whether you want a menu bar, toolbar, or other elements to always display at the top of the your application window.
You may need only one layout to handle the information in the application.
The last display listed in the Layout tab is the one that is replaced when you change the display. For example, new projects include a default layout called Startup. The MainPage display that is listed last is the default area that changes when you tell the application to open a display.
In this section... | ||||
---|---|---|---|---|
|
On this page: | ||||||
---|---|---|---|---|---|---|
|
Column | Description |
Layout name | Enter a name for the layout. |
Layout | Select the layout type:
|
Description | Enter a description of this layout. |
Column | Description |
Width | Enter the width, in WPF units (device-independent pixels), of the layout. This is the width of the runtime application. |
Height | Enter the height, in WPF units (device-independent pixels), of the layout. This is the height of the runtime application. |
Background | Set the background color of the layout. This is the background color of the runtime application |
Enter or select information, as needed.
Column | Description |
Page | Select a display you want to include in the layout. Only page displays are available for use in a layout. |
Docking | Select the docking location for this display:
|
HorizontalAlign | Select the horizontal alignment for this layout:
|
VerticalAlign | Select the vertical alignment for this layout:
|
Margins | Set the margin for this layout. |
Left | Set the left position of the layout |
Top | Set the top position of the layout |