Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

Commented Unassigned: mvvmpropdp macro uses UIMetaPropertyData class? [7629]

$
0
0
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

Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>