Menu Toolbars
- 3 minutes to read
The Model Editor includes a toolbar that can be displayed at design time and at runtime. This topic describes the functionality in both cases.
Design Time Toolbar
The image below illustrates the toolbar that is available at design time.
Command | Shortcut | Description |
---|---|---|
Reload | CTRL+R | Cancels all unsaved changes made within the Model Editor. |
Back | - | Navigates to the previously focused node. |
Forward | - | Cancels the Back command. |
Language | - | Specifies the current language aspect. For details, refer to the Localization Basics topic. |
Localization | - | Invokes the Localization Tool. |
Show Links / Hide Links | - | Toggles the Linked Nodes visibility in the Nodes Tree. |
Loaded Modules | - | Displays a list of modules used to generate the current content of the Application Model. |
Search | CTRL+ALT+F | Invokes a Search Pane. |
Show Unusable Data | - | Displays the XML code of unusable nodes (nodes absent in the actual model, but customized in an XAFML file). You usually encounter unusable nodes after upgrading your application to use updated (newer) modules. For more information, refer to the following topic: Unusable Nodes. |
To save changes made within the Model Editor at design time, use the Visual Studio Save button or CTRL+S shortcut.
Runtime and Standalone Menu Toolbar
The image below illustrates the toolbar that is available when the Model Editor is invoked at run time (in XAF WinForms UI on .NET Framework) or as a standalone tool.
Button/Action | Shortcut | Description |
---|---|---|
Open | CTRL+O | (Available in standalone Model Editor only) Opens the Application Model of a specific XAF application or module. |
Save | CTRL+S | Saves changes made within the Model Editor to the user differences. |
Reload | CTRL+R | Cancels all unsaved changes made within the Model Editor. |
Merge Differences | - | (Available in runtime only) Merges the current node(s) differences into the underlying model layer. See the Model Merge Tool topic for details. |
Language | - | Specifies the current language aspect. For details, refer to the Localization Basics topic. |
Localization | - | Invokes the Localization Tool. |
Back | ALT+LEFT | Navigates to the previously focused node. |
Forward | ALT+RIGHT | Cancels the Back action. |
Show Links / Hide Links | - | Toggles the Linked Nodes visibility in the Nodes Tree. |
Loaded Modules | - | Displays a list of modules used to generate the current content of the Application Model. |
Search | CTRL+ALT+F | Invokes a Search Pane. |
Show Unusable Data | - | Displays the XML code of unusable nodes (nodes absent in the actual model, but customized in an XAFML file). You usually encounter unusable nodes after upgrading your application to use updated (newer) modules. For more information, refer to the following topic: Unusable Nodes. |
Limitations
XAF uses a single Visual Studio extension for all versions. As a result, the Model Editor toolbar is not supported in .NET projects created for previous versions after you install XAF v22.1 or later.