DataGridItemAutomationPeer.GetItemTypeCore Method


Retrieves a value that describes what kind of item the data grid item represents.

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

protected override string GetItemTypeCore()

Return Value

Type: System.String
A string value that describes the kind of item, such as "Mail Message", "Contact", and "Document".

The return value is based on the row owner, if one exists. Otherwise, this implementation returns String.Empty.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions