diff --git a/MapControl/Shared/MapPanel.cs b/MapControl/Shared/MapPanel.cs index aa110046..ac7a26de 100644 --- a/MapControl/Shared/MapPanel.cs +++ b/MapControl/Shared/MapPanel.cs @@ -47,11 +47,11 @@ namespace MapControl { mapElement.ParentMap = newValue; } -#if UWP || WINUI - }); -#else - }, true); // inherits + } +#if WPF || AVALONIA + , true // inherits, not available in WinUI/UWP #endif + ); public MapPanel() {