XXXXProperty = DependencyProperty.Register("XXXX", typeof(double), typeof(MyClass), new PropertyMetadata((object)1, new PropertyChangedCallback(xxxxxxxx)));改为:XXXXProperty = DependencyProperty.Register("XXXX", typeof(double), typeof(MyClass), new PropertyMetadata((double)1, new PropertyChangedCallback(xxxxxxxx)));
posted on 2013-10-09 15:29 阅读( ...) 评论( ...)