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 

字段值

注解

单击按钮时执行单个操作。

按钮可用作独立控件,也可以用作其他控件类型的子控件。 例如,组合框控件中的下拉箭头是一个按钮。 用作子控件时,按钮位于UI 自动化树的控件视图中(不在内容视图中)。

适用于

另请参阅