Is it possible to detect if the recent apps button has been pressed?

You could try the TextBox.LostFocus event, or: