Can't dismiss DateTimeEditBox dropdown with Esc key

Editors for WPF Forum

Posted 2 years ago by Phil Devaney
Version: 16.1.0635
Platform: .NET 4.5
Environment: Windows 10 (64-bit)
Avatar

If the DateTimeEditBox dropdown is shown when the control does NOT have focus, then the dropdown can't be dismissed with the Escape key because clicking the dropdown arrow doesn't set focus to the edit box.

For other controls with dropdowns like ColorEditBox or BrushEditBox, clicking the arrow does set focus so the dropdown can be dismissed. Its also OK if focus is already in the DateTimeEditBox when the arrow is clicked.

This is easy to reproduce in the Sample Browser - go to the basic DateTimeEditBox sample and set focus to the Format or Editable Parts controls on the right. Click the arrow on the edit box to show the dropdown, then press Escape - nothing happens.

We have a work around to call Focus() in a DropDownOpened event handler, so not a high priority issue

Comments (1)

Answer - Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Phil,

Thanks for reporting this.  We've fixed it for the upcoming 2016.1 maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.