diff --git a/src/Maui/Prism.Maui/Behaviors/EventToCommandBehavior.cs b/src/Maui/Prism.Maui/Behaviors/EventToCommandBehavior.cs index 948ed1918..b7ce4a0f3 100644 --- a/src/Maui/Prism.Maui/Behaviors/EventToCommandBehavior.cs +++ b/src/Maui/Prism.Maui/Behaviors/EventToCommandBehavior.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using System.Linq.Expressions; using System.Reflection; using System.Windows.Input; @@ -234,7 +234,7 @@ protected virtual void OnEventRaised(object sender, EventArgs eventArgs) parameter = propertyValue; } - if (parameter == null && eventArgs != null && eventArgs != EventArgs.Empty && EventArgsConverter != null) + if (parameter == null && eventArgs != null && EventArgsConverter != null) { parameter = EventArgsConverter.Convert(eventArgs, typeof(object), EventArgsConverterParameter, CultureInfo.CurrentUICulture);