title: UWP: How to coerce the value of a DependencyProperty?
body: <p>I'm working on my first Universal Windows Platform (UWP) App right now and just learned that the dependency property system implementation of the Windows Runtime seems to be less powerful than that of WPF. Having a lot of experience in WPF, I miss the <code>FrameworkPropertyMetadata</code> type, or more precisely, the <code>CoerceValueCallback</code> that you can specify on it. </p>
  
  <p>How does value coercion work for dependency properties in UWP Apps? The only solution that I see is to do it by resetting the value using <code>SetValue()</code> in the property changed callback method, but wouldn't that break data binding? I need value coercion for dependency properties on a custom templated control (derived from <code>Control</code>), so how am I supposed to do it correctly?</p>