I did not realize this, but it seems to be so. Also, I cannot start MouseLeftButtonUp. MouseLeftButtonDown fires, although using this you can do this hack.
<TextBox IsTabStop="False" MouseLeftButtonDown="TextBox_MouseLeftButtonDown" />
Then in code, you can handle an event like this.
private void TextBox_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { var textBox = ((TextBox) sender); textBox.IsTabStop = true; textBox.Focus(); textBox.IsTabStop = false; }
It might be worth wrapping it in a CustomControl
public class FocusableTextBox : TextBox { protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e) { if (!IsTabStop) { IsTabStop = true; Focus(); IsTabStop = false; } base.OnMouseLeftButtonDown(e); } }
source share