This question is locked. New answers and comments are not allowed.
Hello.
In the app I'm currently developing, I need to show a DatePicker in a custom Popup with Flyout-like behavior.
This custom Flyout control is just a Popup control with a custom style/template.
It's defined in XAML and it can be shown by clicking on an AppBar button.
It has a LightDismissable behavior, so it can be closed either by pressing an OK button or by clicking/tapping outside its window.
In addition to the OK button, the flyout contains a DatePicker.
Everything works well if the DatePicker Selector popup is closed using its buttons or by tapping/clicking outside it, but INSIDE the parent Flyout control.
Otherwise, if the DatePicker Selector popup is closed by tapping/clicking OUTSIDE both its window and the parent Flyout control, it doesn't work anymore: re-opening the Flyout, and clicking/tapping the DatePicker, the Date Selector is not shown anymore.
Did someone have a similar issue?
Thank you!
Gianni RG
In the app I'm currently developing, I need to show a DatePicker in a custom Popup with Flyout-like behavior.
This custom Flyout control is just a Popup control with a custom style/template.
It's defined in XAML and it can be shown by clicking on an AppBar button.
It has a LightDismissable behavior, so it can be closed either by pressing an OK button or by clicking/tapping outside its window.
In addition to the OK button, the flyout contains a DatePicker.
Everything works well if the DatePicker Selector popup is closed using its buttons or by tapping/clicking outside it, but INSIDE the parent Flyout control.
Otherwise, if the DatePicker Selector popup is closed by tapping/clicking OUTSIDE both its window and the parent Flyout control, it doesn't work anymore: re-opening the Flyout, and clicking/tapping the DatePicker, the Date Selector is not shown anymore.
Did someone have a similar issue?
Thank you!
Gianni RG