How to know the ControlType of a UI Element from CurrentControlType property
问题 Basically I am using UIAutomationClient.Interop.dll for some UI work I am currently doing and I am facing the following issue: I have a UI Element I would like to know its Control Type. UIAutomationClient.Interop.dll exposes the following property: IUIAutomationElement::CurrentControlType property Above property returns an Int that represents the Control Type ID but not a ControlType object. Question: How could I know what is the ControlType of an UI Element by just knowing its ID? I was not