Bearbeiten

Freigeben über


ControlType.Button Field

Definition

Identifies a button control.

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 

Field Value

Remarks

Buttons perform a single action when clicked.

A button can be used as a standalone control or as a subcontrol in another control type. For example, the drop-down arrow in a combo box control is a button. When used as a subcontrol, a button is in the control view of the UI Automation tree (not in the content view).

Applies to

See also