Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ControlType::List Field

Identifies a list control, such as a list box.

Namespace:  System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public:
static initonly ControlType^ List

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft