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?
Comments: mvvmpropdp is for WPF (full .NET version). For Silverlight and Windows Phone, please use mvvmslpropdp. Thanks Laurent
Is UIPropertyMetadata supposed to be used in this context?
Comments: mvvmpropdp is for WPF (full .NET version). For Silverlight and Windows Phone, please use mvvmslpropdp. Thanks Laurent