Quantcast
Channel: MVVM and Updating a Selected Count
Viewing all articles
Browse latest Browse all 4

MVVM and Updating a Selected Count

$
0
0
        public int Count        
        {
            get { return _objects.Where(o => o.Selected == true).Count(); }
        }

I would do like this for the count property.

And then find a way to use the NotifyPropertyChanged whenever one of the objects has been checked/unchecked.


Developing is part of being a developer.



Viewing all articles
Browse latest Browse all 4

Trending Articles



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