MapPanel constructor

This commit is contained in:
ClemensFischer 2025-06-10 23:50:58 +02:00
parent fde4eccf12
commit 71e7e29200
4 changed files with 22 additions and 30 deletions

View file

@ -18,14 +18,6 @@
AffectsParentArrange<MapPanel>(LocationProperty, BoundingBoxProperty);
}
public MapPanel()
{
if (this is MapBase)
{
SetValue(ParentMapProperty, this);
}
}
public static MapBase GetParentMap(Control element)
{
return (MapBase)element.GetValue(ParentMapProperty);