ToolStripItem.DismissWhenClicked Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether items on a ToolStripDropDown are hidden after they are clicked.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

abstract DismissWhenClicked : bool with get
override DismissWhenClicked : bool with get

Property Value

Type: System.Boolean

true if the item is hidden after it is clicked; otherwise, false.

.NET Framework
Available since 2.0
Return to top