GetAutomationIdCore Method

DataGridItemAutomationPeer.GetAutomationIdCore Method


Retrieves the string that uniquely identifies the data grid item to UI automation.

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

protected override string GetAutomationIdCore()

Return Value

Type: System.String
The identifier string.

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

© 2015 Microsoft