編輯

共用方式為


ToolStripItem.DismissWhenClicked Property

Definition

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

protected public:
 virtual property bool DismissWhenClicked { bool get(); };
protected internal virtual bool DismissWhenClicked { get; }
member this.DismissWhenClicked : bool
Protected Friend Overridable ReadOnly Property DismissWhenClicked As Boolean

Property Value

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

Applies to