Skip to content

Commit 4968c97

Browse files
committed
Moved static mathod above non static methods.
1 parent 757d1e2 commit 4968c97

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.Input/RangeSelector/RangeSelector.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)