public void Blur() { IsFocused = false; //CursorPosition = 0; OnFocusChange?.Invoke(this, false); }
private void OpenTkRenderer_FocusedChanged(object sender, EventArgs e) { OnFocusChange?.Invoke(this, !this.Focused); }
public void Focus() { IsFocused = true; OnFocusChange?.Invoke(this, true); }