https://learn.microsoft.com/zh-cn/dotnet/api/system.windows.input.icommand.canexecutechanged?view=netframework-4.8.1&redirectedfrom=MSDN
ICommand.CanExecuteChanged Event (System.Windows.Input) | Microsoft Learn
Occurs when changes take place that affect whether or not the command should execute.
event systemicommandwindowsinputmicrosoft
https://learn.microsoft.com/nl-nl/dotnet/api/system.windows.input.icommand.canexecutechanged?view=net-10.0
ICommand.CanExecuteChanged Event (System.Windows.Input) | Microsoft Learn
Occurs when changes take place that affect whether or not the command should execute.
event systemicommandwindowsinputmicrosoft