RadDocking AutomationId

2 posts, 1 answers
  1. Maciej
    Maciej avatar
    7 posts
    Member since:
    Nov 2015

    Posted 19 May Link to this post

    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

  2. Answer
    Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 20 May Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top