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

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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0
Show: