title: WPF slider with two thumbs
body: <p>I'm trying to create a slider with two thumbs for my app, to use as a range slider, but am running into issues.  The basic requirement for me is to get a single slider with tick marks and two thumbs, which are both set with IsSnapToTickEnabled="true".</p>
  
  <p>I found some samples of range sliders when searching for help (for example <a href="http://marlongrech.wordpress.com/2007/09/06/wpf-range-slider-control/" rel="noreferrer">this one</a>) but I was not able to modify it to add tick marks and force the thumbs to snap to ticks.  Getting tick marks and snapping working for the range slider in the link would be ideal though.</p>
  
  <p>I tried modifying a slider's template and adding another thumb to it but then I do not know how to get the value of the selected thumb.</p>
  
  <p>Does anyone have a sample of a slider with two thumbs, tick marks, and snap to tick enabled?  All of the range slider samples I have found use two sliders on top of each other and none of them allow for tick marks or snapping to tick marks.</p>
  
  <p>Thanks.</p>