How to skip OnCreateAutomationPeer triggering while scrolling?? RRS feed

  • Question

  •             I have tweaked some of the logic to shows the custom text while inspect the Grid Cell via screen reader. It's working fine as expected in the Windows 7 and 8 configuration. OnCreateAutomationPeer get called only while inspecting the cell via Screen readers. But in the Windows 10(Touch) configuration it get triggered of multiple time initially at the same while in scrolling also. Could you please share the idea regarding it may be a Windows side problem or name bypass available to skip it.
    • Moved by Bob Ding Tuesday, July 25, 2017 9:54 AM
    Friday, July 14, 2017 11:24 AM

All replies

  • Hi,

    Are you implementing Coded UI testing against your WPF app?  If so please share more info with us, like a piece of sample code?

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, July 17, 2017 3:15 AM