private void PopupChild_MouseLeave(object sender, MouseEventArgs e) { OnUpdateVisualStates(EventArgs.Empty); } }