title: How to implement TextBox.InputScope in WPF
body: <p>I'm searching for a way to implement the InputScope of a Textbox like it is done in Wp7, but using classic WPF. </p>
  
  <p>What I want to achieve is, that the input is restricted to only use decimal numbers.
  How can I achieve that?</p>
  
  <pre><code>&lt;TextBox Text="{Binding Amount, Mode=TwoWay}" InputScope="Number"/&gt;
  </code></pre>
  
  <p>InputScope is a valid attribute for classic WPF, but sadly it does not seem to work.</p>