ItemType attached property
TOC
Collapse the table of content
Expand the table of content

AutomationProperties.ItemType attached property

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


<object AutomationProperties.ItemType="typeString" />

XAML Values

typeString

The description of the type of the specified element.

Remarks

When getting this property in code, use GetItemType. When setting this property in code, use SetItemType.

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 described as "Document File" or "Folder".

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.UI.Xaml.Automation

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation

Metadata

Windows.winmd

See also

AutomationProperties

 

 

Show:
© 2017 Microsoft