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

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

$
0
0

The DXSerializer.FindCollectionItem event is used when it's necessary to deserialize a custom collection and when deserialized items exist in the current layout. For example, the GridControl uses this event to deserialize columns. In this event handler, it searches for a deserialized column in the existing layout. If such a column is found, the GridControl doesn't create a new one. To deserialize an item from the deserialized collection, assign it to the XtraFindCollectionItemEventArgs.CollectionItem property. 
This event is raised only if the XtraSerializableProperty.UseFindItem 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>