語言

ControlType.Button 欄位

定義

識別按鈕控制。

public: static initonly System::Windows::Automation::ControlType ^ Button;
public static readonly System.Windows.Automation.ControlType Button;
 staticval mutable Button : System.Windows.Automation.ControlType
Public Shared ReadOnly Button As ControlType 

欄位值

備註

按鈕按下時執行單一動作。

按鈕可以作為獨立控制,或作為其他控制類型的子控制。 例如,連擊框控制中的下拉箭頭就是一個按鈕。 當作為子控制時,按鈕會在 使用者介面自動化 樹的控制視圖中(而非內容檢視中)。

適用於

另請參閱