ToolStripItem.DismissWhenClicked Property


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)

protected internal virtual bool DismissWhenClicked { 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