I Have a DataGrid and two columns inside.
First one: LimitType and
Second one: is LimitValue.
For example:
First column: 0 – if Money type, 1 – if Percent Type
Second column should: in case of 0 in the first column show value in money format, otherwise in Percent format.
How can I format the second column in depending of First Column Value.
I tried to do it using Converter, but I can’t pass as a parameter the value of the first column…
I have found a solulution.
DataGridTextColumn should be binded to MultiplyBinding type for both values – from first column and second column.