Bug 41232 - DatePicker.Focus() does not focus
Summary: DatePicker.Focus() does not focus
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.1.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-05-21 10:35 UTC by Florian Schnyder
Modified: 2016-09-28 03:56 UTC (History)
4 users (show)

Tags: Windows ac
Is this bug a regression?: ---
Last known good build:

Xaml.cs (732 bytes, text/plain)
2016-05-21 10:36 UTC, Florian Schnyder
Xaml (1.03 KB, application/xaml+xml)
2016-05-21 10:36 UTC, Florian Schnyder
Repro project (440.66 KB, application/x-zip-compressed)
2016-06-02 23:07 UTC, E.Z. Hart [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Florian Schnyder 2016-05-21 10:35:28 UTC
If I try to open a DatePicker programmatically by using the "Focus()" method on a DatePicker object, the method works well for Android, but not for Windows.

Attached an example (sorry for the German words, just copied it form my current project and removed not relevant code).
Comment 1 Florian Schnyder 2016-05-21 10:36:13 UTC
Created attachment 16062 [details]
Comment 2 Florian Schnyder 2016-05-21 10:36:38 UTC
Created attachment 16063 [details]
Comment 3 E.Z. Hart [MSFT] 2016-06-02 23:07:38 UTC
Created attachment 16181 [details]
Repro project
Comment 4 Andreas 2016-08-22 12:10:24 UTC
Same thing with the TimePicker.
Please fix this!
Comment 5 Paul DiPietro [MSFT] 2016-09-28 03:56:35 UTC
This was fixed a while back.