-
Notifications
You must be signed in to change notification settings - Fork 89
[WPF/MapControl] MapControl is on top of every other control #320
Comments
Hello meJevin, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established. |
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established. |
FYI @marb2000 |
I get the same issue with |
I believe this is a general airspace issues, I thought Winforms host behaved the same way? Not sure if there's anything to be done. Thought there was a note somewhere about this... @marb2000? |
You are right @michael-hawker it looks like air-space issues. |
When using
MapControl
I am unable to place any other controls in WPF on top of it. It seems to be on top of everything for some reason.I've not seen a version where this is fixed.
Steps to Reproduce
Steps to reproduce the behavior:
Source
folderMapControlBug.sln
solutionMainWindow.xaml
verify that the button with contentHello
is rendered over theMapControl
in the XAML previewer.MapControl
is rendered on top of the aforementionedButton
Expected behavior
MapControl should respect z index of other controls
Screenshots
How it looks in the previewer:
How it looks when I run the app:
Environment
WPF, .Net Core 3.1, Windows 10.
NuGet Package(s):
Microsoft.Toolkit.Wpf.UI.Controls
Package Version(s):
Microsoft.Toolkit.Wpf.UI.Controls: 6.1.2
Project .NET Version:
Windows 10 Build Number:
Device form factor:
Visual Studio
The text was updated successfully, but these errors were encountered: