This project has moved and is read-only. For the latest updates, please go here.


mvvmpropdp macro uses UIMetaPropertyData class?


I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using the UIPropertyMetadata class instead of PropertyMetadata. UIPropertyMetadata does not appear to be in the WP8 namespace. I changed it to PropertyMetadata and everything was fine.

Is UIPropertyMetadata supposed to be used in this context?
Closed Mar 14, 2014 at 5:21 PM by lbugnion


lbugnion wrote Mar 14, 2014 at 5:20 PM

mvvmpropdp is for WPF (full .NET version). For Silverlight and Windows Phone, please use mvvmslpropdp.


roschler wrote Mar 14, 2014 at 6:43 PM

Thanks Laurent.