UI自动化不会为UIA_LegacyIAccessibleValuePropertyId属性引发PropertyChangedEvent. [英] UI Automation does not raise PropertyChangedEvent for UIA_LegacyIAccessibleValuePropertyId property.
问题描述
您好,Sanjay,
LegacyIAccessible属性通常不会触发事件.该模式可以使喜欢看旧属性的MSAA客户继续查看它们,但是如果我们为它们触发事件,则它们实际上总是重复的 其他事件.
我很好奇您在哪里看到旧版Value而不是Value.Value-它们通常是重合的,尽管您还应该注意数值提供者对UIA_RangeValueValuePropertyId的更改.
谢谢,
迈克尔
Hi, Sanjay,
The LegacyIAccessible properties do not, in general, fire events. The pattern exists to allow MSAA clients who liked seeing the old properties to continue to look at them, but if we fired events for them, they would virtually always be duplicates of some other event.
I'm curious about where you see the legacy Value and not Value.Value - they generally coincide, although you should also watch for changes to UIA_RangeValueValuePropertyId for numeric-valued propviders.
Thanks,
Michael
这篇关于UI自动化不会为UIA_LegacyIAccessibleValuePropertyId属性引发PropertyChangedEvent.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!