title: WPF: Textbox Binding with StringFormat={}{0:F2}. Don't show zero's
body: <p>I am binding an object to a TextBox with the following XAML:</p>
  
  <p><code>&lt;TextBox Name="MyTextBox" Text="{Binding Path=MyValue, Mode=TwoWay, StringFormat={}{0:F2}}" /&gt;</code></p>
  
  <p>Naturally when I bind a new object (which values are all still zero) the Text property is set to <code>0.00</code>. I have several of these TextBoxes, which makes it tedious to delete every value before entering a new one.</p>
  
  <p>At the moment I'm clearing these boxes in the <code>Window_Loaded</code> method using the <a href="https://stackoverflow.com/questions/974598/find-all-controls-in-wpf-window-by-type">FindVisualChildren</a> method.</p>
  
  <p>It just feels clunky though. Is there a neat way of doing this?</p>