All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
What do you mean exactly by label? A screen shot or public site would help me understand what value you're after. If you simply want the text from the underlying TextBlock of a Silverlight element, like a TreeViewItem, use the following code:
TreeViewItem tv5 = app.Find.ByExpression(
new
XamlFindExpression(
"XamlTag=stackpanel"
,
"name=SampleSelectionContainer"
"|"
"XamlPath=/treeviewitem[0]/grid[0]/itemspresenter[name=ItemsHost]/stackpanel[0]/treeviewitem[5]"
)).As<TreeViewItem>();
Log.WriteLine(tv5.TextBlockContent);