.NET Framework (current version)
Gets or sets a value that indicates that the submenu in which this MenuItem is located should not close when this item is clicked.
PresentationFramework (in PresentationFramework.dll)
member StaysOpenOnClick : bool with get, set
true if the submenu in which this MenuItem is located should not close when this item is clicked; otherwise, false. The default is false.
The following example uses the StaysOpenOnClick property to create an item in a submenu that does not close when the item is clicked.
Return to top
Available since 3.0