private void name_TXT_TextChanged(object sender, TextChangedEventArgs e) { TextBox txt = (TextBox)sender; if (ParentSnapshot != null) ParentSnapshot.Name = txt.Text; if (txt.IsKeyboardFocusWithin) SettingChanged?.Invoke(); }