Skip to content

Commit 9b0c22a

Browse files
greuelpiratOliver Ehrenmüller
and
Oliver Ehrenmüller
authored
Change type of OpenedEvent and ClosedEvent to RoutedEventHandler (#3090) (#3091)
Co-authored-by: Oliver Ehrenmüller <[email protected]>
1 parent 231ce19 commit 9b0c22a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MaterialDesignThemes.Wpf/PopupBox.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ protected virtual void OnToggleCheckedContentClick()
381381
EventManager.RegisterRoutedEvent(
382382
"Opened",
383383
RoutingStrategy.Bubble,
384-
typeof(EventHandler),
384+
typeof(RoutedEventHandler),
385385
typeof(PopupBox));
386386

387387
/// <summary>
@@ -406,7 +406,7 @@ protected virtual void OnOpened()
406406
EventManager.RegisterRoutedEvent(
407407
"Closed",
408408
RoutingStrategy.Bubble,
409-
typeof(EventHandler),
409+
typeof(RoutedEventHandler),
410410
typeof(PopupBox));
411411

412412
/// <summary>
@@ -797,4 +797,4 @@ private static object CoerceToolTipIsEnabled(DependencyObject dependencyObject,
797797
return popupBox.IsPopupOpen ? false : value;
798798
}
799799
}
800-
}
800+
}

0 commit comments

Comments
 (0)