This documentation is archived and is not being maintained.

ControlType.List Field

Identifies a list control, such as a list box.

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

public static readonly ControlType List
public static final ControlType List
public static final var List : ControlType
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: