Szerkesztés

Megosztás a következőn keresztül:


AutomationElement.AutomationElementInformation.ControlType Property

Definition

Gets the ControlType of the element.

public:
 property System::Windows::Automation::ControlType ^ ControlType { System::Windows::Automation::ControlType ^ get(); };
public System.Windows.Automation.ControlType ControlType { get; }
member this.ControlType : System.Windows.Automation.ControlType
Public ReadOnly Property ControlType As ControlType

Property Value

The interaction model for this element. The default value is Custom.

Remarks

Control type describes a known interaction model for arbitrary UI Automation elements without relying on a localized control type or combination of complex logic rules.

The only case where this property can change at run time is for a control that supports MultipleViewPattern. An example is the Win32 ListView control, which can change from DataGrid to List, depending on the current view.

For more information, see ControlTypeProperty.

Applies to

See also