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.
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.
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).
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
Thank you for letting us know. We will switch to a non-font-based glyph for the next maintenance release.
Please log in to a validated account to post comments.