WPF Databound Listbox

Posted by Jeff on Stack Overflow See other posts from Stack Overflow or by Jeff
Published on 2010-06-16T14:31:44Z Indexed on 2010/06/16 14:32 UTC
Read the original article Hit count: 301

Filed under:
|
|

I have a listbox bound to a list of objects for a data entry screen. The item template includes textblocks, a checkbox and comboboxes.

When the listbox is populated I would like to change the foreground color of the textblocks to red if object.value1 = true and object.value2 = 0.

Any ideas?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about listbox