ToolStripSplitButton.ButtonSelected ToolStripSplitButton.ButtonSelected ToolStripSplitButton.ButtonSelected ToolStripSplitButton.ButtonSelected Property

定义

获取一个值,该值指示是否已选中 ToolStripSplitButton 的标准按钮部分,或 DropDownButtonPressed 属性是否为 trueGets a value indicating whether the standard button portion of a ToolStripSplitButton is selected or the DropDownButtonPressed property is true.

public:
 property bool ButtonSelected { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool ButtonSelected { get; }
member this.ButtonSelected : bool
Public ReadOnly Property ButtonSelected As Boolean

属性值

如果选定 ToolStripSplitButton 的按钮部分,或 DropDownButtonPressedtrue,则为 true;否则为 falsetrue if the button portion of a ToolStripSplitButton is selected or whether DropDownButtonPressed is true; otherwise, false.

适用于

另请参阅