tag:blogger.com,1999:blog-34822706.post5414319063539340586..comments2024-03-09T09:55:33.991+02:00Comments on dot.NET - Advanced .NET Knowledge: Refresh CellTemplate in ListView When Content ChangesIdo Ranhttp://www.blogger.com/profile/03488069232209446734noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-34822706.post-9713690588519672362010-06-16T17:56:23.033+03:002010-06-16T17:56:23.033+03:00View model knows about hows it displays in UI??? (...View model knows about hows it displays in UI??? (view model should not contain any informations about it data templates)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34822706.post-6325917469257461802009-05-07T15:59:00.000+03:002009-05-07T15:59:00.000+03:00Big Thx for you Post!Big Thx for you Post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34822706.post-81674868364950718282009-01-26T20:43:00.000+02:002009-01-26T20:43:00.000+02:00Hi Ido Ran,Thanks for your answer, I wrote a mail ...Hi Ido Ran,<BR/><BR/>Thanks for your answer, I wrote a mail to you. To tell the truth, my problem is the next one:<BR/>I have got a ListView with dataBinding. I would like to modify the color of the ListViewItem based on any property of the binding data.<BR/><BR/>Thanks your help,<BR/>TiborAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-34822706.post-34425634261875865242009-01-26T11:17:00.000+02:002009-01-26T11:17:00.000+02:00Dear Tibor,My idea relay on the fact you can data ...Dear Tibor,<BR/>My idea relay on the fact you can data bind a CellTemplate to a property (say call it MyTemplate property) and then when refresh is needed you can use the code OnPropertyChanged("MyProperty") to force WPF to refresh the template.<BR/><BR/>If you want me to send you a working sample please send me an email to ido.ran@gmail.com and I'll create one.<BR/><BR/>Ido.Ido Ranhttps://www.blogger.com/profile/03488069232209446734noreply@blogger.comtag:blogger.com,1999:blog-34822706.post-80426180962654671372009-01-25T14:03:00.000+02:002009-01-25T14:03:00.000+02:00Hi Ido Ran,I am happy to see your blog, because I ...Hi Ido Ran,<BR/><BR/>I am happy to see your blog, because I am finding a solution for this "re-evaluating the CellTempalteSelector" problem. <BR/>Unfortunately, I can not understand yours clearly.. :(( If you sent a complete little example, I would be glad.<BR/><BR/>Many thanks,<BR/>TiborAnonymousnoreply@blogger.com