Frequently Asked Questions (FAQ)
Below is a list of topics answering the most frequently asked questions about XAF.
Illustrates how to set up Lookup Property Editor filtering in the Application Model and programmatically, and describes several scenarios.
Specifies how to work with the static SecuritySystem class's properties to access the user name, user ID or the entire user object. It also shows how to grant access only to objects the current user owns.
Describes how to replace the "User Name" editor displayed in the logon dialog with two Lookup Property Editors: the first one for choosing a company, the second one for choosing an employee from this company.
Explains how to implement a business class, so that one of its properties is calculated based on a property(s) of the objects contained in the child object collection.
Describes how to initialize different types of properties with default property values.
Illustrates how to create custom security objects, such as permissions, roles, and users, as well as implement an export functionality using a custom CanExport property.
Describes how to set up your XAF application to work with existing databases by generating a business model declaration for the specified legacy database and mapping existing tables to persistent objects.
Shows how to use an Action Container View Item to make an Action available in a View (Detail View or Dashboard View) and not a toolbar.
Demonstrates how to populate and display a list of objects that are not bound to the database (Non-Persistent Objects).
Illustrates how to change the default logo image and text displayed in the application's About section.
Demonstrates how to merge a business class with the Security System's User object so that the Security System would recognize the business class's objects as possible User types.
Clarifies how to filter secured data using XPO, without using a Middle Tier application server. Provides information on hiding secure data for EF applications.
Suggests ways to customize ASP.NET templates that are embedded in DevExpress.ExpressApp.Web. Usually, they cannot be modified, but you can include template content source files in your application project, change this content and use it instead.
Explains how to implement an Action in WinForms and ASP.NET applications that prints a report without displaying its preview.
Describes how to configure a business object to display a specific property's value in Lookup Editors, Detail Form captions, etc., by default. Specify a business object’s property
Specifies how to display a non-persistent objects' Detail View in the Navigation or as a Dashboard item.
Demonstrates how to display a non-persistent objects' List View in the Navigation.
Shows how to add a custom data-bound (data-aware) control to a View and display this View in a WinForms or ASP.NET XAF application's navigation.
Explains how to modify the default Ribbon template (XAF provides two default templates - Ribbon and Standard), create a ribbon page group and add an Action to it.
Provides step-by-step instructions on using the Conditional Appearance Module to disable/enable and show/hide Property Editors based on business rules.
Explains how to implement a Property Editor in WinForms and ASP.NET applications.
Illustrates how to access stored queries in a database, which has no key field, by implementing a persistent class mapped to that database view.
Describes how to access a master object. This may be necessary when you have a Controller for a nested List View representing an object collection.
Shows how to customize default XAF themes for ASP.NET applications.
Gives step-by-step instructions on using the XPO Data Model Designer in XAF applications. The topic covers creating a simple business model of two objects linked with a one-to-many relationship and adding XAF-specific attributes in code.
Shows how to initialize a property of an object created using the New Action.
Describes how to customize the control that visualizes an Action in a UI. The topic covers creating a custom Action and modifying it to accept keyboard input using a custom mask.
Refer to the Task-Based Help topic to access a complete collection of XAF how-to guides if you have not found answers to your questions.