title: WPF Binding behaviour with Stringformat different than with code?
body: <p>In some of my projets, I sometime do things like</p>
  
  <pre><code>TxtBox.Text = 10000.ToString("#,0.00") ' TxtBox.Text content = 10 000.00
  </code></pre>
  
  <p>However, if I have a DataGridTextBoxColumn with binding like this :</p>
  
  <pre><code>{Binding Amount,StringFormat='#,0.00'}
  </code></pre>
  
  <p>The value shown is 10,000.00 and not 10 000.00</p>
  
  <p>I tried changing both the UI culture and Culture and the application startup but I can only change the way it appears when I use code and not in the binding. Is there any way to make this work ? Is there a 'BindingCulture' of some sort ???</p>
  
  <p>Edit, here is an example of DataGrid I have</p>
  
  <pre><code>&lt;DataGrid x:Name="GridModules" Grid.Column="0" ItemsSource="{Binding}" Style="{StaticResource BaseGrid}" IsTabStop="False"&gt;
      &lt;DataGrid.Columns&gt;
          &lt;DataGridTextColumn Header="Nom" Width="*"  MinWidth="150"
                                                 Binding="{Binding Nom}"                                               
                                                 IsReadOnly="True" /&gt;
          &lt;DataGridTextColumn Header="Prix" Width="120"  MinWidth="100"
                                                 Binding="{Binding PrixAvantTaxe, StringFormat='#,0.00'}"
                                                 CellStyle="{StaticResource RightCellStyle}"
                                                 IsReadOnly="True" /&gt;
          &lt;DataGridCheckBoxColumn Header="Révisé" Width="100"  MinWidth="100"
                                                  Binding="{Binding EstRevise}"                                                      
                                                  IsReadOnly="True" /&gt;
      &lt;/DataGrid.Columns&gt;
  &lt;/DataGrid&gt;
  </code></pre>
  
  <p>Edit : I think my question is misunderstood. I would like to get 10 000.00, which is what I get when I use code and NOT 10,000.00, which is what I get when I use binding in datagrids.</p>