Skip to content

Commit 9195720

Browse files
committed
SuggestionsRequestedEventArgs should inherit DeferredEventArgs instead
1 parent 0428550 commit 9195720

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ private async Task RequestSuggestionsAsync(ITextRange range = null)
532532
}
533533
catch (OperationCanceledException)
534534
{
535-
eventArgs.Cancel = true;
535+
// pass
536536
}
537537
}
538538
}

Microsoft.Toolkit.Uwp.UI.Controls.Input/RichSuggestBox/SuggestionsRequestedEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
99
/// <summary>
1010
/// Provide data for <see cref="RichSuggestBox.SuggestionsRequested"/> event.
1111
/// </summary>
12-
public class SuggestionsRequestedEventArgs : DeferredCancelEventArgs
12+
public class SuggestionsRequestedEventArgs : DeferredEventArgs
1313
{
1414
/// <summary>
1515
/// Gets or sets the prefix character used for the query.

0 commit comments

Comments
 (0)