When developing by installing the CommunityToolkit.Maui package in Maui, the following code can run normally when the version of CommunityToolkit.Maui is 9.1.1. However, it cannot run normally when the version of CommunityToolkit.Maui is greater than 9.1.1 (such as the latest version 12.2.0). The EventToCommandBehavior does not work at all:
MauiApp1.zip