You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally, I met an issue that clicking the menu item will close the sub menu. And later I found a bug if there are a more than two levels of sub menu. The third sub menu will show when mouse button down and close when mouse button up.
I looked into the dotnet WPF source code. MenuItem
And found that the base WPF MenuItem will show the sub menu when mouse down. But we will close it when mouse up with this.IsSubmenuOpen = !this.IsSubmenuOpen .
The text was updated successfully, but these errors were encountered:
Hello guys,
Originally, I met an issue that clicking the menu item will close the sub menu. And later I found a bug if there are a more than two levels of sub menu. The third sub menu will show when mouse button down and close when mouse button up.
We found we have code like this.
I looked into the dotnet WPF source code. MenuItem
And found that the base WPF MenuItem will show the sub menu when mouse down. But we will close it when mouse up with
this.IsSubmenuOpen = !this.IsSubmenuOpen
.The text was updated successfully, but these errors were encountered: