This is probably pretty simple but I'm trying to take the value from an element in XML and put it in my DataGridTextColumn formatted to 3 decimal places but I can't get it to work...it just leaves it unformatted at like 20. Here is the line I am using. What am I doing wrong?
<DataGridTextColumn Header="Avg" Binding="{Binding Path=Element[avg].Value, StringFormat=0:0.###}"></DataGridTextColumn>