Skip to content

Commit 1309ca1

Browse files
Update Microsoft.Toolkit.Uwp.UI.Controls.Input/TokenizingTextBox/TokenizingTextBox.Properties.cs
Co-authored-by: Michael Hawker MSFT (XAML Llama) <[email protected]>
1 parent f0d8b2a commit 1309ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.Input/TokenizingTextBox/TokenizingTextBox.Properties.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private static void TextPropertyChanged(DependencyObject d, DependencyPropertyCh
164164
nameof(MaxTokens),
165165
typeof(int),
166166
typeof(TokenizingTextBox),
167-
new PropertyMetadata(DependencyProperty.UnsetValue, OnMaxTokensChanged));
167+
new PropertyMetadata(null, OnMaxTokensChanged));
168168

169169
private static void OnMaxTokensChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
170170
{
@@ -353,4 +353,4 @@ public int MaxTokens
353353
set => SetValue(MaxTokensProperty, value);
354354
}
355355
}
356-
}
356+
}

0 commit comments

Comments
 (0)