WPF 属性改变回调(Property Changed Callbacks)或依赖属性的注册,通常会使用静态方法
publicdoubleValue{get{return(double)GetValue(ValueProperty);}set{SetValue(ValueProperty,value);}}publicstaticreadonlyDependencyPropertyValueProperty=DependencyProperty.Register("Value",typeof(double),