ToolStripButton.CheckState 屬性

定義

取得或設定一個值,表示預設 ToolStripButton 是按下狀態還是未按下狀態,或是處於不確定狀態。

public:
 property System::Windows::Forms::CheckState CheckState { System::Windows::Forms::CheckState get(); void set(System::Windows::Forms::CheckState value); };
public System.Windows.Forms.CheckState CheckState { get; set; }
member this.CheckState : System.Windows.Forms.CheckState with get, set
Public Property CheckState As CheckState

屬性值

這是其中一項 CheckState 價值。 預設值為 Unchecked

例外狀況

分配的值並非其中之一。CheckState

備註

設定 CheckState to Indeterminate 時,不要設定預設狀態。

適用於