ItemAutomationPeer.GetAutomationIdCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the string that uniquely identifies the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.

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

protected override string GetAutomationIdCore()

Return Value

Type: System.String

A string that contains the UI Automation identifier.

The value of the UI Automation identifier is the AutomationId property. If the AutomationId property is not set, the value is the Name property.

This method is called by GetAutomationId.

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