Accessing TreeListViewColumnHeader using Microsoft UI Automation

Grids for WPF Forum

The latest build of this product (v24.1.4) was released 2 months ago, which was before this thread was created.
Posted 1 month ago by Marcin B
Version: 23.1.4
Avatar

I am trying to acces TreeListViewColumnHeader using Microsoft UI Automation to perform some changes around columns visibility, order and width for our internal tests purposes. It seems there is no AutomaticPeer associated with that element as this is not discoverable by automation frameworks. I noticed that in v24.1 there is new class for TreeListViewColumnHeaderAutomationPeer. So should I upgrade to new version to be able to perform my operations ? Is there any workaround for 23.1 that I could easily implement on my own ?

[Modified 1 month ago]

Comments (1)

Posted 1 month ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Marcin,

Support for several TreeListView UIA peers was added in v24.1, so the recommended solution would simply be to upgrade.  Unfortunately, there would not be an easy way to implement this on your own with v23.1.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.