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.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft