Skip to main content
A newer version of this page is available. .

Collection Properties

  • 2 minutes to read

In XAF, collection properties are displayed in nested List Views. Different Action sets are available in the UI depending on the collection property type and the attributes applied.

Note

Refer to the Property Editors | Collection Properties section in the Feature Center demo installed with XAF to see Collection Property Editors in action. The Feature Center demo is installed in %PUBLIC%\Documents\DevExpress Demos 18.1\Components\eXpressApp Framework\FeatureCenter by default. The ASP.NET version of this demo is available online at https://demos.devexpress.com/XAF/FeatureCenter/.

Examples

Property Editors for Collection Properties

WinForms and ASP.NET applications use the ListPropertyEditor property editor to display a collection of properties in the NestedFrameTemplate and NestedFrameControlNew. The UI-independent ListPropertyEditor creates a Template that represents a Frame, which contains a List View. This List View uses the ListView.CollectionSource of the PropertyCollectionSource type.

Mobile applications use the MobileLinkToListPropertyEditor property editor to display a collection of properties in the MobileWindowTemplate.

Note

Mobile applications do not support collections of the BindingList type and non-associated collections.

Refer to the UI Element Overview topic for details on Templates, Frames, and Views. To use a custom List View instead of the default one, change the IModelMemberViewItem.View property value in the Model Editor.

See Also