title: WPF double valued data binding with custom decimal separator
body: <p>Is there a centralized way to have the WPF UI to respect the customized decimal separator set in Control Panel -> Regional Settings? </p>
  
  <p>When I bind a double valued data to a text box, I want to enter the value using the decimal separator set in Regional settings.</p>
  
  <p>The code below (when put in App's ctor) will use the decimal separator of the current culture settings, but will not respect the customized decimal separator setting. I was hoping that this code could somehow easily be exteded to cover the customized decimal separator as well.</p>
  
  <pre><code>FrameworkElement.LanguageProperty.OverrideMetadata(typeof(FrameworkElement),
               new FrameworkPropertyMetadata(XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
  </code></pre>