diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.Input.Drag.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.Input.Drag.cs
index 7a71f4cdbed..b074c282356 100644
--- a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.Input.Drag.cs
+++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.Input.Drag.cs
@@ -70,7 +70,7 @@ private double DragWidth()
return _containerCanvas.ActualWidth - _maxThumb.Width;
}
- private double DragThumb(Thumb thumb, double min, double max, double nextPos)
+ private double DragThumb(RangeThumb thumb, double min, double max, double nextPos)
{
nextPos = Math.Max(min, nextPos);
nextPos = Math.Min(max, nextPos);
@@ -89,7 +89,7 @@ private double DragThumb(Thumb thumb, double min, double max, double nextPos)
return Minimum + ((nextPos / DragWidth()) * (Maximum - Minimum));
}
- private void Thumb_DragStarted(Thumb thumb)
+ private void Thumb_DragStarted(RangeThumb thumb)
{
var useMin = thumb == _minThumb;
var otherThumb = useMin ? _maxThumb : _minThumb;
diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.cs
index 795388345e3..52f6fca0bc2 100644
--- a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.cs
+++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.cs
@@ -37,8 +37,8 @@ public partial class RangeSelector : Control
private Border _outOfRangeContentContainer;
private Rectangle _activeRectangle;
- private Thumb _minThumb;
- private Thumb _maxThumb;
+ private RangeThumb _minThumb;
+ private RangeThumb _maxThumb;
private Canvas _containerCanvas;
private Grid _controlGrid;
private double _oldValue;
@@ -98,8 +98,8 @@ protected override void OnApplyTemplate()
_outOfRangeContentContainer = GetTemplateChild("OutOfRangeContentContainer") as Border;
_activeRectangle = GetTemplateChild("ActiveRectangle") as Rectangle;
- _minThumb = GetTemplateChild("MinThumb") as Thumb;
- _maxThumb = GetTemplateChild("MaxThumb") as Thumb;
+ _minThumb = GetTemplateChild("MinThumb") as RangeThumb;
+ _maxThumb = GetTemplateChild("MaxThumb") as RangeThumb;
_containerCanvas = GetTemplateChild("ContainerCanvas") as Canvas;
_controlGrid = GetTemplateChild("ControlGrid") as Grid;
_toolTip = GetTemplateChild("ToolTip") as Grid;
diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.xaml b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.xaml
index e81c270d9b3..b32bf99fdcc 100644
--- a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.xaml
+++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.xaml
@@ -2,6 +2,21 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls">
+
+