XAML-Map-Control/MapControl/WPF/MapContentControl.WPF.cs

29 lines
775 B
C#
Raw Normal View History

2025-02-27 18:46:32 +01:00
using System.Windows;
2026-04-13 17:14:49 +02:00
namespace MapControl;
public partial class MapContentControl
{
2026-04-13 17:14:49 +02:00
static MapContentControl()
{
2026-04-13 17:14:49 +02:00
DefaultStyleKeyProperty.OverrideMetadata(typeof(MapContentControl), new FrameworkPropertyMetadata(typeof(MapContentControl)));
}
2026-04-13 17:14:49 +02:00
}
2021-01-17 21:39:42 +01:00
2026-04-13 17:14:49 +02:00
public partial class Pushpin
{
static Pushpin()
2021-01-17 21:39:42 +01:00
{
2026-04-13 17:14:49 +02:00
DefaultStyleKeyProperty.OverrideMetadata(typeof(Pushpin), new FrameworkPropertyMetadata(typeof(Pushpin)));
}
2022-02-09 23:10:54 +01:00
2026-04-13 17:14:49 +02:00
public static readonly DependencyProperty CornerRadiusProperty =
DependencyPropertyHelper.Register<Pushpin, CornerRadius>(nameof(CornerRadius));
2022-02-09 23:10:54 +01:00
2026-04-13 17:14:49 +02:00
public CornerRadius CornerRadius
{
get => (CornerRadius)GetValue(CornerRadiusProperty);
set => SetValue(CornerRadiusProperty, value);
2021-01-17 21:39:42 +01:00
}
}