I've been using UISpy to find out just how accessible our application is. We use RadTabControl in a few places, and It seems that UISpy cannot access the content in tab items. It sees the tab control and the tab items themselves, but not their content. I've included a screen shot of the view in UISpy of the following XAML. As you can see, the buttons do not appear. But for some reason UISpy seems to think that the tab items are named by the text in the buttons. Please take a look at this and see what you make of it.
<teleriknav:RadTabControl> |
<teleriknav:RadTabControl.Items> |
<teleriknav:RadTabItem Header="Tab 1"> |
<teleriknav:RadTabItem.Content> |
<Button x:Name="Btn1" |
HorizontalAlignment="Left" |
VerticalAlignment="Top" |
Content="Button 1"></Button> |
</teleriknav:RadTabItem.Content> |
</teleriknav:RadTabItem> |
<teleriknav:RadTabItem Header="Tab 2"> |
<teleriknav:RadTabItem.Content> |
<Button x:Name="Btn2" |
HorizontalAlignment="Left" |
VerticalAlignment="Top" |
Content="Button 2"></Button> |
</teleriknav:RadTabItem.Content> |
</teleriknav:RadTabItem> |
</teleriknav:RadTabControl.Items> |
</teleriknav:RadTabControl> |