ControlType.Menu 欄位

定義

識別功能表控制項,例如應用程式視窗中最上層的功能表。Identifies a menu control, such as a top-level menu in an application window.

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

欄位值

ControlType

備註

功能表是功能表項目集合的容器;比方說 ,當您 按一下 [檔案] 並包含 [ 新增]、[ 開啟] 等等的控制項時,就會出現在檔案下方的控制項。A menu is a container for a collection of menu items; for instance, the control that appears beneath File when you click on it and that contains New, Open, and so on.

適用於