Hi, @Yathavakrishnan. Welcome to Microsoft Q&A.
You could solve this by forcing a refresh of the input method
private void TextBox_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
textBox.IsReadOnly = false;
textBox.SelectAll();
//Force refresh input method
InputMethod.SetIsInputMethodEnabled(textBox, false);
InputMethod.SetIsInputMethodEnabled(textBox, true);
}
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.