Bug 31280 - Shared Project (PCL) with WinPhone 8.1 Project (WinRT): SearchBar XAML Binding and Events not working
Summary: Shared Project (PCL) with WinPhone 8.1 Project (WinRT): SearchBar XAML Bindin...
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.0.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-06-22 07:39 UTC by pwyss2
Modified: 2016-04-10 02:10 UTC (History)
6 users (show)

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

Reproduction project (306.55 KB, application/x-zip-compressed)
2015-08-25 23:35 UTC, Paul DiPietro [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 pwyss2 2015-06-22 07:39:12 UTC

In a SharedProject (PCL) I've added a WinPhone 8.1 Project according to:

...my App is running, but I've the following problems with my Xamarin.Forms SearchBar (which I do not have in Android and IOS):
- Binding does not work
- TextChanged Event does not fire

Thanks for solving this issue.

Kind regards,
Comment 1 Artem Valieiev 2015-07-16 11:50:17 UTC

I've PCL solution and SearchBar TextChanged event doesn't work for me too, and event Text Property is always empty...
Please solve this issue.

Best regards,
Comment 2 Paul DiPietro [MSFT] 2015-08-25 23:34:44 UTC
Attaching a small sample project but it does appear to occur on 8.1, such as with setting the Text or outputting to debug on TextChanged, but is okay on 8.0.
Comment 3 Paul DiPietro [MSFT] 2015-08-25 23:35:04 UTC
Created attachment 12642 [details]
Reproduction project
Comment 4 Jason Smith [MSFT] 2016-04-10 02:10:09 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team