walterlv / BlogComments

3 stars 0 forks source link

post/wpf-app-supports-ui-automation-better #129

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

如何让 WPF 程序更好地适配 UI 自动化 - walterlv

Windows 中很早就内置了 UI 自动化机制(UIAutomation 从 Windows XP SP3 就开始提供了),WPF 第一个版本开始也提供了 UI 自动化的支持。所以按道理说如果你使用了 WPF,那么你的 UI 做准备好了随时可被自动化的准备。

https://blog.walterlv.com/post/wpf-app-supports-ui-automation-better

1357310795 commented 1 year ago

希沃白板竟然还考虑了UI自动化😲

Yue-cn commented 1 year ago

吕毅,能不能讲一讲如何用Registry获得AccentColor啊。。。 SystemParameters.WindowGlassColor的颜色不准。。 但是又不想用dll API(其实也可以吧)