Introduced MapContentControl

This commit is contained in:
ClemensF 2021-01-17 21:39:42 +01:00
parent 207565feba
commit 67e9989327
16 changed files with 218 additions and 143 deletions

View file

@ -110,10 +110,9 @@ namespace MapControl
set { SetValue(StrokeMiterLimitProperty, value); }
}
protected Binding GetBinding(DependencyProperty property, string propertyName)
protected Binding GetBinding(string propertyName)
{
return GetBindingExpression(property)?.ParentBinding ??
new Binding { Source = this, Path = new PropertyPath(propertyName) };
return new Binding { Source = this, Path = new PropertyPath(propertyName) };
}
}
}