private void UIElement_OnIsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) { if (IsLoaded && IsVisible) { Textbox.Focus(); } }
public void Focus() { _inputBox.Visible = true; _inputBox.Focus(); }
private void Textbox_Click(object sender, EventArgs e) { Textbox.Focus(); }