New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumericUpDown Focus doesn't work if set through FocusManager #3042

Closed
GCores opened this Issue Sep 7, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@GCores

GCores commented Sep 7, 2017

Trying to set focus to NumericUpDown through FocusManager doesn't work. E.g.:

FocusManager.SetFocusedElement(GridControl, NumericUpDownControl);
<Grid Name="GridControl" FocusManager.FocusedElement="{Binding ElementName=NumericUpDownControl}">

but setting it like this does:

NumericUpDownControl.Focus();

Environment

  • MahApps.Metro v1.5.0
  • Windows OS 10
  • Visual Studio 2017
  • .NET Framework 4.7

@punker76 punker76 added this to the 1.6.0 milestone Sep 8, 2017

@punker76 punker76 self-assigned this Sep 8, 2017

@punker76 punker76 added the Bug label Sep 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment