This is a migrated thread and some comments may be shown as answers.

RadDocking AutomationId

1 Answer 40 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Maciej
Top achievements
Rank 1
Maciej asked on 19 May 2016, 09:12 AM

Hi,

We are using RadDocking with Caliburn Micro and view model first approach. Inside factory we create view models which are resolved by Caliburn Micro. Recently we found that we don't really know how to add AutomationId (or any other name to dynamically loaded views). Is there any proven way to solve this issue?

 

RadDocking is declared the following way:

<telerik:RadDocking x:Name="radDocking" AutomationProperties.AutomationId="radDockingId" DockingPanesFactory="{Binding PanelsFactory}" PanesSource="{Binding Panes}"

 

Have a nice day,

Best regards,

Maciek

1 Answer, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 20 May 2016, 01:10 PM
Hello Maciej,

It seems like what you need to do is to set AutomationId to the SplitContainers holding the RadPanes inside the GeneratedItemsFactory. If that is the case more information on the matter and simple project with setting automation ids you can find in this forum thread.

Please, give it a try.

We hope this will help you.


Regards,
Nasko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Docking
Asked by
Maciej
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or