How can I set IsOffScreen
property for Microsoft UI Automation AutomationElement
object?
I need to hide automation element.
I was able to find only TransformPattern
and Resize
method, but this pattern is not supported by my control (ListView).
Is this possible to acheive at all?
I tried WPF Inspector
and Snoop
and both cannot change this text box visibility property. It's readonly.
update
Found Visibility
property in WPF inspector and 'Snoop(
IsVisibleis readonly, but
Visibility` works), so they both can change element's visibility. Now I know it is possible.
Currently I'm trying to understand how it works. There are source codes available, but it is pretty much big application. Is there anything smaller or any samples available?