Is there a way to find the new focused control in the PreviewLostKeyboardFocus handler? For example, I have a textbox control with the PreviewLostKeyboardFocus event and I clicked on another control. Is there a way to find out what the new control is within the PreviewLostKeyboardFocus handler method?
The strange part is that textbox.IsFocused returns false, and FocusManager.GetFocusedElement(Application.Current.MainWindow) returns the current textbox control.
Many thanks in advence!