https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.input.xamluicommand.notifycanexecutechanged?view=windows-app-sdk-1.8
XamlUICommand.NotifyCanExecuteChanged Method (Microsoft.UI.Xaml.Input) - Windows App SDK |...
Notifies the system that the command state has changed.
windows appmethodmicrosoftuixaml