Exposing an unbindable property to the ViewModel

2019-08-28 04:59发布

问题:

I have a View with a LongListMultiSelector. My ViewModel needs to access the SelectedItems property which is not available for binding. Without exposing my View to my ViewModel, how do I expose it?

回答1:

This other question from someone also trying to accomplish the same thing has the solution.