ToolStripDropDown.TopLevel ToolStripDropDown.TopLevel ToolStripDropDown.TopLevel ToolStripDropDown.TopLevel Property

定义

获取或设置一个值,该值指示 ToolStripDropDown 是否是一个顶级控件。Gets or sets a value indicating whether the ToolStripDropDown is a top-level control.

public:
 property bool TopLevel { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool TopLevel { get; set; }
member this.TopLevel : bool with get, set
Public Property TopLevel As Boolean

属性值

如果 ToolStripDropDown 为顶级控件,则为 true;否则为 falsetrue if the ToolStripDropDown is a top-level control; otherwise, false.

适用于

另请参阅