When using RadTreeMap and defining a CustomMapping for the TypeDefinition, the last item in the collection never has any children...
...all the other items work OK, and if you add an additional item to the end, it becomes the one without Children. Is this part of being "beta", or is this intended behavior?
Protected Overrides Sub Apply(treemapItem As RadTreeMapItem, dataItem As Object)
Dim ie = DirectCast(dataItem, MainPage.ImageEntry)
Dim grid = treemapItem.ChildrenOfType(Of Grid).SingleOrDefault
If Not grid Is Nothing Then
grid.Background = New ImageBrush With {.ImageSource = ie.Icon, .Stretch = Stretch.Uniform, .AlignmentX = AlignmentX.Center, .AlignmentY = AlignmentY.Center}
Else
' last item ends up here
End If
End Sub
...all the other items work OK, and if you add an additional item to the end, it becomes the one without Children. Is this part of being "beta", or is this intended behavior?