Question

I am trying to port over a class from a Windows Store App (Since there is not Kinect Support for the store we have to make a desktop app). I am running into problems with the following libraries not being found (guessing Windows Store Specific)

using Windows.Foundation;
using Windows.UI;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;

I was able to fix most if the Media stuff, however I'm stuck trying to find the equivalent of bindablebase and [Windows.Foundation.Metadata.WebHostHidden]. Also all of the this.SetProperty calls are failing (due to linking errors since there are the wrong libraries). Any ideas? Thanks

Was it helpful?

Solution

I haven't been able to find the equivalent of Bindablabase for the desktop apps, however I found a work around.

Instead of using Bindablebase you just have to use INotifyCollectionChanged directly. I believe that the BB class also implements this and just wraps it. So instead of calling SetProperty which is in BB, you have to call PropertyChanged manually.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top