ControlType.List ControlType.List ControlType.List ControlType.List Field

Definition

Identifies a list control, such as a list box.

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

Field Value

Remarks

A List is a control type that contains ListItem and (perhaps) Group control types.

A List control can be used as a standalone control or as a subcontrol in another control type. For example, a combo box has a List control that contains choices that appear when the drop-down button is clicked. When used as a subcontrol, a List is only in the control view of the UI Automation tree (not in content view).

When used as a subcontrol, a List does not have a Name property assigned.

A List can contain DataItem controls.

Applies to

See also