title: GotFocus and LostFocus Events in WPF TextBox
body: <p>I have a textBox control in a WPF window. I have separate handlers for GotFocus and LostFocus events. But when the textbox attains focus for the first time LostFocus is invoked after GotFous (The textbox loses focus as soon as it attains focus for the first time) . But this doesn't happen when the textBox attains focus for the second time.</p>