The context menu automatically closes when the user clicks on it. Is there any way to stop it from closing? I tried to set the property StaysOpento true, but could not get the desired result.
StaysOpen
true
Thanks for any help!
It's not clear what you are trying to achieve, maybe you should use Popup so you can close it whenever you want.
ContextMenuClosing.... " , " msdn doc - http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.contextmenuclosing%28VS.90%29.aspx
Source: https://habr.com/ru/post/1736617/More articles:WPF Animation Duration - wpfError saving iPhone Coredata - iphoneCmake suddenly cannot find my source files anymore - cmakehow to check a document in a document library programmatically in sharepoint - documentOn MacOSX, in a C ++ program, what guarantees can I get in an IO file - c ++How to allocate more memory for a buffer in C ++? - c ++How to set a model attribute for each action - grailswhy can't I comment on lines in visual mode - vimОкно верхнего уровня в X Window System - c++How to work with Hibernate hql result with multiple connections in Object-Oriented Way? - javaAll Articles