WPF DataGrid bind data between columns

Posted by Markus2k on Stack Overflow See other posts from Stack Overflow or by Markus2k
Published on 2010-04-04T20:30:29Z Indexed on 2010/04/04 20:33 UTC
Read the original article Hit count: 273

Filed under:
|
|
|
|

Lets say I have 2 columns in my data Grid: Column A: Selected, and Column B: Name. The Selected column is a checkbox. And Name column is text field. I want to set the color of the text in 'Name' column as Blue if Column A's check box is checked, and Red otherwise.

Essentially I don't know how to bind data between columns of the datagrid. And sample code/link providing example would be useful.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about datagrid