Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use the DXSerializer.CreateCollectionItem event to deserialize a custom collection

$
0
0

The DXSerializer.CreateCollectionItem event is used to recreate items in a collection when this collection is deserialized. In this event handler, it's necessary to create a new item and add it to the deserialized collection. To deserialize item properties, it's necessary to assign this item to the XtraCreateCollectionItemEventArgs.CollectionItem property. The DXSerializer.CreateCollectionItem event is raised only if the XtraSerializableProperty.UseCreateItem property is "True".  


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>