title: Detect when ScrollBar Maximum is changed
body: <p>Simple question. Having:</p>
  
  <pre><code>&lt;ScrollBar ... /&gt;
  </code></pre>
  
  <p>How can I detect when <code>Maximum</code> is changed? E.g. for <code>Value</code> there is an <a href="https://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.rangebase.valuechanged(v=vs.110).aspx" rel="nofollow noreferrer">event</a>.</p>
  
  <p>Typically there would be a binding of some kind. I was thinking maybe it is possible to get this binding, create dependency property and bind to it instead, then I can register a callback when this new dependency property is changed... but that sounds complicated nor I am sure it is acceptable solution to all cases (e.g. what if another binding is set, how can I detect this kind of change). Polling? </p>