This question is locked. New answers and comments are not allowed.
Hello,
i might have found a possible bug with the tileview, and i would like to check here.
i have some tileitems which load programmatically a style, content template, etc in their constructor.
if i add a tileview in the xaml with the tileitems in the xaml too, items load correctly and their style / templates are properly applied with all contents of the item defined in the templates accessible in the visual tree.
if i leave the tileview in the xaml, but i add tile items programmatically later after loaded event, the items DO NOT get their styles applied (at least, nothing is visible in the visual tree).
if i remove the tile item form the xaml and load it programmatically with the tile items (after the on load of the main page), everything works fine.
it seems that the tileview initializes its tile items (and their styles/templates) on its loaded event but then doesnt initialize any other item added programmatically after it is loaded. This is very annoying for dynamic add/remove of tile items in a loaded tileview.
any thoughts? if it is a bug, can we fix this in the next service pack?
thanks
i might have found a possible bug with the tileview, and i would like to check here.
i have some tileitems which load programmatically a style, content template, etc in their constructor.
if i add a tileview in the xaml with the tileitems in the xaml too, items load correctly and their style / templates are properly applied with all contents of the item defined in the templates accessible in the visual tree.
if i leave the tileview in the xaml, but i add tile items programmatically later after loaded event, the items DO NOT get their styles applied (at least, nothing is visible in the visual tree).
if i remove the tile item form the xaml and load it programmatically with the tile items (after the on load of the main page), everything works fine.
it seems that the tileview initializes its tile items (and their styles/templates) on its loaded event but then doesnt initialize any other item added programmatically after it is loaded. This is very annoying for dynamic add/remove of tile items in a loaded tileview.
any thoughts? if it is a bug, can we fix this in the next service pack?
thanks