ItemAutomationPeer.GetItemTypeCore Method ()


Gets a human-readable string that contains the type of item that the specified UIElement represents.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override string GetItemTypeCore()

Return Value

Type: System.String

The item type. An example includes "Mail Message" or "Contact".

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by GetItemType.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top