title: Comma as decimal separator space as thousand separator C#
body: <p>I want to show my decimal type numbers in my WPF DataGrid using <strong>comma</strong> as <strong>decimal</strong> and <strong>space</strong> as <strong>thousand</strong> separator, with the decimals <strong>length of 4 max</strong>.</p>
  
  <p>I'm really confused by this <strong>StringFormat</strong> property, I can't seem to find the meaning of the string I have to specify.</p>
  
  <p>Example:</p>
  
  <pre><code>1234567890.987654 --&gt; 1 234 567 890,988
  </code></pre>
  
  <p><strong>IMPORTANT EDIT:</strong></p>
  
  <p>The second main part of this question is how to do this in <strong>WPF Datagrid</strong>, I'll post here, how to change a column's binding from code:</p>
  
  <pre><code>        (stockDataGrid.Columns[1] as DataGridTextColumn).Binding = new Binding("Amount") { ConverterCulture = culture, StringFormat = "c" };
  </code></pre>