Browse Source

Merge pull request #10002 from AvaloniaUI/fixes/BackRequestedEventHandler

Fix BackRequested EventHandler args type
pull/10019/head
Jumar Macato 4 years ago
committed by GitHub
parent
commit
bf85f4d321
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/TopLevel.cs

2
src/Avalonia.Controls/TopLevel.cs

@ -318,7 +318,7 @@ namespace Avalonia.Controls
/// <summary> /// <summary>
/// Occurs when physical Back Button is pressed or a back navigation has been requested. /// Occurs when physical Back Button is pressed or a back navigation has been requested.
/// </summary> /// </summary>
public event EventHandler<RoutedEvent> BackRequested public event EventHandler<RoutedEventArgs> BackRequested
{ {
add { AddHandler(BackRequestedEvent, value); } add { AddHandler(BackRequestedEvent, value); }
remove { RemoveHandler(BackRequestedEvent, value); } remove { RemoveHandler(BackRequestedEvent, value); }

Loading…
Cancel
Save