public static DependencyProperty<TDependencyObject, TPropertyValue> Get(TDependencyObject element, System.Windows.DependencyProperty property) { if (instance == null) instance = new DependencyProperty<TDependencyObject, TPropertyValue>(); instance.Target = element; instance.UI = property; return instance; }