UI Customization
- 2 minutes to read
This tutorial section explains how to customize the automatically generated user interface.
Visual elements in your XAF application are based on the data classes you have declared and the information from the assemblies referenced in your application. All the received information is represented as metadata - data that defines database structure and application features via a neutral format, that can be adopted to any target platform. This metadata is called the Application Model. It is a powerful tool that allows you to customize your application. For this purpose, use the Model Editor - an instrument for customizing the Application Model at design time.
The following lessons will demonstrate what you can customize via the Model Editor, and how:
- Place an Action in a Different Location
- Specify Action Settings
- Format a Business Object Caption
- Make a Property Calculable
- Filter Lookup Editor Data Source
- Format a Property Value
- Use a Multiline Editor for String Properties
- Add an Item to the Navigation Control
- Implement Property Value Validation in the Application Model
Actually, the Model Editor provides many more ways to customize the Application Model (and, consequently, the application). You can refer to the Application Model documentation section to learn more about the Application Model.
If the required option is not available in the Model Editor, you can directly access the options of used controls. Review the Access Editor Settings and Access List View Grid Component Settings Using a Controller topics to learn more on this approach.