setting automationid for RadRibbon

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Dec 2010

    Posted 09 Dec 2010 Link to this post

    Hi,

    I'm trying to set the AutomationId in the xmal so I can view it using UISpy.  I can't seem to get a hold of the controls in the Ribbon.


    <

     

     

    telerik:RadRibbonBar x:Name="ribbonBar" TitleBarVisibility="Collapsed" ApplicationButtonVisibility="Collapsed">

     

     

     

     

    <telerik:RadRibbonTab HeaderVisibility="Collapsed">

     

     

     

     

    <telerik:RadRibbonGroup Header="Home" AutomationProperties.AutomationId="Home3" DialogLauncherVisibility="Collapsed" Icon="/rect_select.png">

     

     

     

     

    <telerik:RadRibbonButton AutomationProperties.AutomationId="Home2" Name="Home2" Text="Home2" Size="Large" telerik:ScreenTip.Title="Home Page" telerik:ScreenTip.Description="Click to go to the home."

     

  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 15 Dec 2010 Link to this post

    Hi David,

     RibbonBar automation realization is not using the AutomationProperties, instead it uses the properties of the controls itself, for example the RibbonGroup automation peer will the Header as name of the Automation handle. 
    We consider this as a problem, that should be fixed, so we added it to our Backlog items.
    Thank you for your cooperation.

    Regards,
    Miro Miroslavov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top