mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-02-06 15:54:14 +01:00
30 lines
861 B
C#
30 lines
861 B
C#
using System.Windows;
|
|
|
|
namespace MapControl
|
|
{
|
|
public partial class MapContentControl
|
|
{
|
|
static MapContentControl()
|
|
{
|
|
DefaultStyleKeyProperty.OverrideMetadata(typeof(MapContentControl), new FrameworkPropertyMetadata(typeof(MapContentControl)));
|
|
}
|
|
}
|
|
|
|
public partial class Pushpin
|
|
{
|
|
static Pushpin()
|
|
{
|
|
DefaultStyleKeyProperty.OverrideMetadata(typeof(Pushpin), new FrameworkPropertyMetadata(typeof(Pushpin)));
|
|
}
|
|
|
|
public static readonly DependencyProperty CornerRadiusProperty =
|
|
DependencyPropertyHelper.Register<Pushpin, CornerRadius>(nameof(CornerRadius));
|
|
|
|
public CornerRadius CornerRadius
|
|
{
|
|
get => (CornerRadius)GetValue(CornerRadiusProperty);
|
|
set => SetValue(CornerRadiusProperty, value);
|
|
}
|
|
}
|
|
}
|