Saturday, November 23, 2013

Opacity override in ListView

Hi HanishG,


I'm not familiar with Behaviors SDK, but I just got a question after I read your code.


Here you set a "core:DataTriggerBehavior" in your DataTemplate and binding with a item(CheckBox) also in DataTemplate, let's say if you have several ListViewItems(in your case there are three), how could you identify which checkbox is the one that binding to your "core:DataTriggerBehavior".


If you put the code outside the DataTemplate it should works fine. I can pretty sure that the issue is related the DataTemplate you are using.


--James




<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>

Thanks

MSDN Community Support



Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


No comments:

Post a Comment