DateEditBox MonthCalendar disappears

Editors for WPF Forum

Posted 2 years ago by Ilya Smirnov
Version: 17.1.0650
Environment: Windows 10 (64-bit)
Avatar

I have added a DateEditBox to a ToolBar and then click dropdown arrow to open a month calendar. When I click Next - Previous arrows on the month calendar it disappears. You can view this behaviour in Editors - Ribbon Integration (Interop) sample.

Comments (3)

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

Hi Ilya,

This is happening because we are using regular WPF Buttons in those locations and Microsoft's ButtonBase.OnLostMouseCapture code will blur focus (move it back to the main focus scope) when in a toolbar/ribbon.  That in turn causes the popup to close.

We are going to work around it by adding some custom primitive button classes for use in the MonthCalendar that will prevent that focus blur.  Those updates will be in the next maintenance release (build 651).


Actipro Software Support

Posted 2 years ago by Ilya Smirnov
Avatar

There is another problem with the new calendar. I use font Exo 2 in my application and arrows in the calendar is not visible with this font.

Please see this screenshot

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

Thank you for letting us know.  We will switch to a non-font-based glyph for the next maintenance release.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.