File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ protected override void OnApplyTemplate()
144
144
base . OnApplyTemplate ( ) ;
145
145
}
146
146
147
+ private static void UpdateToolTipText ( RangeSelector rangeSelector , TextBlock toolTip , double newValue )
148
+ {
149
+ if ( toolTip != null )
150
+ {
151
+ toolTip . Text = string . Format ( "{0:0.##}" , newValue ) ;
152
+ }
153
+ }
154
+
147
155
private void ContainerCanvas_SizeChanged ( object sender , SizeChangedEventArgs e )
148
156
{
149
157
SyncThumbs ( ) ;
@@ -198,14 +206,6 @@ private void VerifyValues()
198
206
}
199
207
}
200
208
201
- private static void UpdateToolTipText ( RangeSelector rangeSelector , TextBlock toolTip , double newValue )
202
- {
203
- if ( toolTip != null )
204
- {
205
- toolTip . Text = string . Format ( "{0:0.##}" , newValue ) ;
206
- }
207
- }
208
-
209
209
private void RangeMinToStepFrequency ( )
210
210
{
211
211
RangeStart = MoveToStepFrequency ( RangeStart ) ;
You can’t perform that action at this time.
0 commit comments