Skip to content

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

@gcores

Description

@gcores

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions