public void MoveEnd(bool Select) { if (CurrentRow.IsCollapsed) { Position.Y = CurrentRow.Expansion_EndRow.Index; MoveEnd(Select); } else { CropPosition(); Row xtr = CurrentRow; Position.X = xtr.Text.Length; RememberXPos(); CaretMoved(Select); } }