This documentation is archived and is not being maintained.

AutomationProperties.ItemType Attached Property

Gets or sets a description of the type of the specified element.

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

See GetItemType, SetItemType
<object AutomationProperties.ItemType="string" .../>

Property Value

Type: System.String
The type of the specified element.

Identifier field


Metadata properties set to true


This property is used to obtain information about items in a list, tree view, or data grid. For example, an item in a file directory view might be a "Document File" or a "Folder".

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