FrameworkElementAutomationPeer.GetAutomationIdCore Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetAutomationId.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.StringThe automation identifier for the element associated with the FrameworkElementAutomationPeer, or String.Empty if there is no automation identifier.
Notes to Inheritors
The return value for this method in the FrameworkElementAutomationPeer implementation comes from the AutomationProperties.AutomationId property store on the peer.
Show: