Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2150
XamPropertyGrid and UI Automation
posted

I'm seeing leaks and performance problems related to UI automation (accessibility) in the XamPropertyGrid.

Is there an easy or secret way to disable this feature?  I'd rather not deal with unintended consequences of an unintentional feature.  In general I'm not against the concept of accessibility, but we aren't ready for supporting it if there is an added cost (and if it introduces bugs).

Currently the only way I've found is to create a new control that derives directly from XamPropertyGrid and override OnCreateAutomationPeer to return null.  This seems like the long way around, and I have to believe there is another approach to accomplishing the same thing.  Any help would be appreciated.