public override object ProvideValue(IServiceProvider serviceProvider) { var strProperty = Property as string; var dependencyProperty = strProperty != null?DependencyPropertyUtils.ResolveAttachedDependencyProperty(strProperty, serviceProvider) : Property as DependencyProperty; return(dependencyProperty != null ? new PropertyPath(dependencyProperty) : new PropertyPath(Property)); }
public override object ProvideValue(IServiceProvider serviceProvider) { return(DependencyPropertyUtils.ResolveAttachedDependencyProperty(Property, serviceProvider) ?? DependencyPropertyManager.UnresolvedDependencyProperty); }