Update DataTemplate for a specific item on a listbox on Windows Phone 8 C# -


i'm not being able update single item's datatemplate on list during runtime. in detail, here i'm trying accomplish.

i have listbox items can have different states (collapsed, expanded, disabled, etc), each different layout. i'm using templateselector choose correct datatemplate according property on class , that's working great when first create list, items shown properly. however, when change property sets datatemplate in runtime, notifypropertychanged called , information of item updated on list, not datatemplate. example: have collapsed item label x want expand. click on item , label changes y datatemplate doesn't update.

any idea on how can this? can't datatemplate updated during runtime unless whole list?

i'll appreciate help.

make usercontrol , use inside data template. now, change state can call methods on usercontrol , update. can use animations via storyboard too.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -