ToolStripControlHost.Selected 屬性

定義

取得值,指出是否已選取此項目。Gets a value indicating whether the item is selected.

public:
 virtual property bool Selected { bool get(); };
public override bool Selected { get; }
member this.Selected : bool
Public Overrides ReadOnly Property Selected As Boolean

屬性值

如果已選取 true,則為 ToolStripItem,否則為 falsetrue if the ToolStripItem is selected; otherwise, false.

適用於