private void SectionName_TextChanged(object sender, TextChangedEventArgs e) { if (SectionName.GetLineLength(SectionName.GetLastVisibleLineIndex()) == 2) { Keyboard.Focus(ShelfNumber); } }