public PropertyPath (object parameter) { property = parameter as DependencyProperty; path = parameter as string; }