Bind to Count of items in the DataContext
- by Organ Grinding Monkey
I want to bind to the Count/amount of items within my DataContext.
I have an object, lets say person which has a List<address> as a property. I would like to display the amount of addresses for that person ie: 5 or 6 or whatever the case may be.
I've tried {Binding Path=address#.Count} and a few others but that doesnt seem to work.
Any help would be appreciated, thanks.