Data Types of Business Class Properties and Built-in Property Editors
- 2 minutes to read
This documentation section includes the following topics, which provide information on data types supported by XAF and corresponding Property Editors, intended to visually represent a property in the UI.

- Key Properties
- String Properties
- Numeric Properties
- Date and Time Properties
- Boolean Properties
- BLOB Image Properties
- Collection Properties
- Reference (Foreign Key, Complex Type) Properties
- File Attachment Properties
- Enumeration Properties
- Type Properties
- Criteria Properties
- Color Properties
- Miscellaneous Property Types
Persist Custom Types or Represent Them Differently in the UI
If you need to store a type unsupported by your ORM in the database, refer to the Mapping Complex Types to the Database article.
If there is no built-in property editor for your specific task, you can easily add a custom one. Refer to the Implement Custom Property Editors topic to learn how to implement custom property editors.
Examples of Custom Property Editors for Popular Scenarios
- XAF - How to Display an Enumeration Property as a Drop-down Box with Check Boxes
- XAF - How to display a collection property as a checked list box
- XAF - How to show a hyper link (URL, email, etc.) for a business class property
- XAF WinForms - How to use a custom Lookup Property Editor control for reference properties
- Multiple File Upload, Tag Box, Lookup, Markup Content Property Editors
You can find more custom property editors in the OutlookInspiredDemo application installed with XAF. Directories to review:
- Blazor Editors: %PUBLIC%\Documents\DevExpress Demos 25.2\Components\XAF\OutlookInspiredDemo.NET.EFCore\CS\OutlookInspiredDemo.Blazor.Server\Editors
- WinForms Editors: %PUBLIC%\Documents\DevExpress Demos 25.2\Components\XAF\OutlookInspiredDemo.NET.EFCore\CS\OutlookInspiredDemo.Win\Editors
See Also