ToolStripItem.DismissWhenClicked 属性

定义

获取一个值,该值指示在单击 ToolStripDropDown 上的项后是否隐藏这些项。

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

属性值

Boolean

如果在单击项后隐藏该项,为 true;否则为 false

适用于