Skip to content

Commit 407d8fd

Browse files
committed
Added missing property change handler for Surface Dial
1 parent 17f5078 commit 407d8fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.UI/Extensions/TextBox/TextBoxExtensions.SurfaceDial.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static partial class TextBoxExtensions
2222
nameof(SurfaceDialOptions),
2323
typeof(SurfaceDialOptions),
2424
typeof(TextBoxExtensions),
25-
new PropertyMetadata(null));
25+
new PropertyMetadata(null, OnSurfaceDialOptionsPropertyChanged));
2626

2727
/// <summary>
2828
/// Gets the value for <see cref="SurfaceDialOptionsProperty"/>.
@@ -119,7 +119,7 @@ private static void Controller_RotationChanged(RadialController sender, RadialCo
119119
/// </summary>
120120
/// <param name="d">The <see cref="DependencyObject"/> we are dealing with, like a <see cref="TextBox"/>.</param>
121121
/// <param name="e">The arguments of the changed event.</param>
122-
private static void StepValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
122+
private static void OnSurfaceDialOptionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
123123
{
124124
if (!IsSurfaceDialOptionsSupported)
125125
{

0 commit comments

Comments
 (0)