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

How to get the maximum or minimum object's value from a collection

$
0
0

This example demonstrates how to find the object with the highest value from a collection. Here the Quote class has a collection of QuoteItem objects.

Question Comments

Added By: Baha'a Eldin Elsayed at: 3/17/2015 7:41:21 AM    

How to do this in XAF. I believe I cannot use Defaultsession in XAF

Added By: Dennis (DevExpress Support) at: 3/17/2015 8:16:42 AM    Yes, you are correct. You can use the Session of the XPObjectSpace object instead. Check out the https://documentation.devexpress.com/#Xaf/CustomDocument3708 article for more details.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



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