private void OnIsInputRedirectionEnabledChanged(DependencyPropertyChangedEventArgs e) { _inputRedirectionTimer.IsEnabled = (bool)e.NewValue; }