As the title says, the item exists within the RadTreeViewItem.Items, yet it returns null, even when searching by index, see the following screen shot:
The RadTreeView is data bound using several HierarchyDataTemplates, I tried this with regular items like so:
<telerik:RadTreeView> |
<telerik:RadTreeViewItem x:Name="firstTelerikItem" Header="Item 1" IsExpanded="True"> |
<telerik:RadTreeViewItem Header="Item 1.1" x:Name="containerTelerik1_1" /> |
<telerik:RadTreeViewItem Header="Item 1.2" x:Name="containerTelerik1_2" /> |
<telerik:RadTreeViewItem Header="Item 1.3" x:Name="containerTelerik1_3" /> |
</telerik:RadTreeViewItem> |
<telerik:RadTreeViewItem Header="Item 2" /> |
<telerik:RadTreeViewItem Header="Item 3" /> |
</telerik:RadTreeView> |
And in there it works fine, but not with the databound ones.
Lmk, thanks!