Listing 3: The Thumb Style from TextTransformer.xaml
<Style x:Key="thumbStyle" TargetType="Thumb">
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="Width" Value="{StaticResource ThumbSize}" />
<Setter Property="Height" Value="{StaticResource ThumbSize}" />
<Setter Property="RenderTransform">
<Setter.Value>
<TranslateTransform
X="{StaticResource HalfThumbOffset}"
Y="{StaticResource HalfThumbOffset}" />
</Setter.Value>
</Setter>
</Style>