Updated Pushpin Style

This commit is contained in:
Clemens 2022-02-09 23:10:54 +01:00
parent a9b98c862f
commit e026205a7f
4 changed files with 24 additions and 9 deletions

View file

@ -49,5 +49,14 @@ namespace MapControl
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(Pushpin), new FrameworkPropertyMetadata(typeof(Pushpin)));
}
public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register(
nameof(CornerRadius), typeof(CornerRadius), typeof(Pushpin));
public CornerRadius CornerRadius
{
get { return (CornerRadius)GetValue(CornerRadiusProperty); }
set { SetValue(CornerRadiusProperty, value); }
}
}
}