https://learn.microsoft.com/en-us/dotnet/api/system.windows.input.canexecuteroutedeventargs?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-8.0
CanExecuteRoutedEventArgs Class (System.Windows.Input) | Microsoft Learn
Provides data for the CanExecute and PreviewCanExecute routed events.
class systemwindowsinputmicrosoftlearn