TextBoxAutomationPeer.GetNameCore 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. ]
Gets the UI Automation Name value from the element that is associated with this TextBoxAutomationPeer. Called by GetName.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.StringThe UI Automation Name of the element that is associated with this automation peer.
This implementation first checks if the base implementation is providing a value for UI Automation Name. If the base value is Nothing, then this method returns the TextBox.Text of the owner instead.
Show: