/// <summary> /// Platform-specific method to attach a command's CanExecute handler. /// </summary> /// <param name="commandGroup">Command group.</param> /// <param name="command">Command to attach handler to.</param> static partial void AttachCanExecuteHandler(CommandGroup commandGroup, RelayCommand command) { if (commandGroup != null) { commandGroup.AttachCanExecuteChangeHandler(command); } }