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

Display a collection property as a checked list box in XAF applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Display a collection property as a checked list box in XAF applications

License:Other


Languages

Language:C# 74.9%Language:HTML 25.1%