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()
144144 base . OnApplyTemplate ( ) ;
145145 }
146146
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+
147155 private void ContainerCanvas_SizeChanged ( object sender , SizeChangedEventArgs e )
148156 {
149157 SyncThumbs ( ) ;
@@ -198,14 +206,6 @@ private void VerifyValues()
198206 }
199207 }
200208
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-
209209 private void RangeMinToStepFrequency ( )
210210 {
211211 RangeStart = MoveToStepFrequency ( RangeStart ) ;
You can’t perform that action at this time.
0 commit comments