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

setting automationid for RadRibbon

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 10 Dec 2010, 01:45 AM
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."

 

1 Answer, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 15 Dec 2010, 03:08 PM
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
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Share this question
or