Really, off the top of my head, I think that you will have to handle the Enter event and then you can call the SelectAll() method on the TextBox: