Coded UI recognizes the SyntaxEditor control as a WpfText element (equivalent to a readonly text label). I would have expected that it was recognized as a WpfEdit (equivalent to a textbox). But, even with the WpfText, the DisplayText property comes back as empty. Even going down to the AutomationElement, the Name property comes back as empty.
Is there a way I could access the SyntaxEditor Text from the Windows Automation API?
[Modified 3 years ago]