Skip to content

DevExpress-Examples/xaf-how-to-display-a-collection-property-as-a-checked-list-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF - How to display a collection property as a checked list box

This example illustrates how to display a collection property as a checked list box in XAF applications.

image

The example application:

  • Shows the collection of all existing Detail objects as a checked list box.
  • Allows you to link/unlink child Detail records to/from the Master object using checkboxes.

Implementation Details

  1. Implement Master and Detail business object classes, where Master contains a collection of Detail objects.

  2. Copy the implementation of one of the following custom property editors:

  3. Run the application.

  4. Create several Detail objects, then create a new Master object. You can link/unlink existing Detail objects using editor checkboxes.

Files to Review

Documentation

More Examples