AutomationPeer.GetLocalizedControlType Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a localized string that represents the control type, for the control that is associated with this automation peer. The localized string parallels a AutomationControlType value.
Assembly: System.Windows (in System.Windows.dll)
This implementation does nothing more than calling GetLocalizedControlTypeCore.
A UI Automation client such as a screen reader might use the GetLocalizedControlType value as a suffix to the UI Automation Name value. For example, if a Button has content of "OK", and that content is promoted by Button peer behavior to be the name, the screen reader might read out "OK Button". The "OK" portion comes from a UI Automation Name, the "Button" portion comes from a GetLocalizedControlType value or a similar UI Automation technique for reading LocalizedControlType.