Posted 24 June 2021, 10:42 am EST
When viewing a UWP UI using Inspect.exe we are unable to see the automation id we have set in XAML for the C1TabControl or the C1TabItems it contains. Is this a defect or is there something else we need to do?
Forums Home / ComponentOne / UWP Edition
Posted by: uhlmandanl on 24 June 2021, 10:42 am EST
Posted 24 June 2021, 10:42 am EST
When viewing a UWP UI using Inspect.exe we are unable to see the automation id we have set in XAML for the C1TabControl or the C1TabItems it contains. Is this a defect or is there something else we need to do?
Posted 25 June 2021, 3:05 am EST
Hi Dan,
In order to enable automation support for C1 UWP controls, you need to install C1.Xaml.UWP.Automation NuGet package.
Could you please try the same and see if you still face any issue?
Best Regards,
Kartik
Posted 25 June 2021, 9:05 am EST
Kartik,
Thanks for the reply. We have version 10.0.20181.587 of the controls installed. The earliest C1.Xaml.UWP.Automation package I find is 10.0.20183.611. Will that cause any issues? It appears to work.
Thanks again,
Dan
Posted 28 June 2021, 7:03 am EST
[quote]Thanks for the reply. We have version 10.0.20181.587 of the controls installed. The earliest C1.Xaml.UWP.Automation package I find is 10.0.20183.611. Will that cause any issues? It appears to work.
[/quote]
Hi Dan,
Yes, you can use [b]C1.Xaml.UWP.Automation/b with the 10.0.20181.587 build only if your license is valid for 2018V3 build. However, if that’s not the case then you would need to upgrade.
Just in case needed, I have attached C1.Xaml.UWP.Automation library for build 10.0.20181.587. (see C1.Xaml.UWP.Automation.zip)
Note: You can find the dll at location ‘10.0\references\commonconfiguration\neutral’ after extracting the attached file.
Best Regards,
Kartik
Posted 28 June 2021, 8:43 am EST
Hi Kartik,
Thanks for the help. We appreciate it.
Dan