How to find the location of the variable on which bind data column? A simple search on SOLUTION fails.
<sdk:DataGridTextColumn MinWidth="15"
Binding="{Binding Accounts[0].AccountValue,
Converter={StaticResource DecimalConverter}}"
CanUserSort="False"
CellStyle="{StaticResource RightAlignCellStyle}"
Header="Account Value"
HeaderStyle="{StaticResource DefaultDataGridColumnHeaderStyleRight}"
IsReadOnly="True" />
Find out where the DataContext is set. It can be on the object itself, or any of its parents. The variable
Accountsshould be a property of the DataContext object.