diff --git a/MaterialDesignThemes.Wpf/PopupBox.cs b/MaterialDesignThemes.Wpf/PopupBox.cs index 05aa627f06..b861fba3f2 100644 --- a/MaterialDesignThemes.Wpf/PopupBox.cs +++ b/MaterialDesignThemes.Wpf/PopupBox.cs @@ -381,7 +381,7 @@ protected virtual void OnToggleCheckedContentClick() EventManager.RegisterRoutedEvent( "Opened", RoutingStrategy.Bubble, - typeof(EventHandler), + typeof(RoutedEventHandler), typeof(PopupBox)); /// @@ -406,7 +406,7 @@ protected virtual void OnOpened() EventManager.RegisterRoutedEvent( "Closed", RoutingStrategy.Bubble, - typeof(EventHandler), + typeof(RoutedEventHandler), typeof(PopupBox)); /// @@ -797,4 +797,4 @@ private static object CoerceToolTipIsEnabled(DependencyObject dependencyObject, return popupBox.IsPopupOpen ? false : value; } } -} +} \ No newline at end of file