title: Is it possible to control the display of the Extended Wpf Toolkit's MaskedTextBox control?
body: <p>I've got an Extended WPF Toolkit's MaskedTextBox control on a user control, that's bound to an int. The value of the int cannot exceed two digits but can be just one digit, which is why I'm using a MaskedTextBox. But we're having a problem displaying this control when creating a new record. Currently, when creating a new record, it displays &quot;00&quot;. We only want it to display a single zero, like &quot;_0&quot;. I've been following the description for the MaskedTextBox from <a href="https://github.com/xceedsoftware/wpftoolkit/wiki/MaskedTextBox" rel="nofollow noreferrer">its GitHub page</a>. This is my first attempt:</p>
  <pre><code>&lt;tk:MaskedTextBox x:Name=&quot;MaxProficienciesMaskedTextBox&quot;
                    Style=&quot;{StaticResource LeftAlignMaskedTextBoxStyle}&quot;
                    Value=&quot;{Binding MaxProficiencies}&quot;
                    Mask=&quot;#0&quot;
                    ValueDataType=&quot;{x:Type System:Int32}&quot;
                    IsEnabled=&quot;{Binding IsMaxProficienciesEnabled}&quot; /&gt;
  </code></pre>
  <p>I thought, by looking at the GitHub page, that it would give me &quot;_0&quot;. It doesn't, it displays &quot;00&quot; for a new record. Likewise, I've tried a mask value of &quot;00&quot; and &quot;90&quot;. Both displayed &quot;00&quot; for a new record.</p>
  <p>Is it possible to display a new record with &quot;_0&quot;? If so, how?</p>