diff options
author | Samantha Houts <samantha.houts@xamarin.com> | 2017-09-26 10:34:35 -0700 |
---|---|---|
committer | Samantha Houts <samantha.houts@xamarin.com> | 2017-09-26 10:34:35 -0700 |
commit | 783ecfcde057f4d8920058410bcba3d1d353808e (patch) | |
tree | 0bee2840699a96d967f78396ed5a93918c993199 /Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared | |
parent | 78b8be17aa0f428df9d1440e0536027574741a2e (diff) | |
download | xamarin-forms-783ecfcde057f4d8920058410bcba3d1d353808e.tar.gz xamarin-forms-783ecfcde057f4d8920058410bcba3d1d353808e.tar.bz2 xamarin-forms-783ecfcde057f4d8920058410bcba3d1d353808e.zip |
Revert "[UWP] Use ItemClick to re-enable use of enter key for selection on ListView (#1133)"
This reverts commit d1bf93be200b3d3c48d0d292bf455f444485d8f9.
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared')
2 files changed, 0 insertions, 58 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla59248.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla59248.cs deleted file mode 100644 index 96a80296..00000000 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla59248.cs +++ /dev/null @@ -1,57 +0,0 @@ -using Xamarin.Forms.CustomAttributes; -using Xamarin.Forms.Internals; - -#if UITEST -using Xamarin.UITest; -using NUnit.Framework; -#endif - -namespace Xamarin.Forms.Controls.Issues -{ - [Preserve(AllMembers = true)] - [Issue(IssueTracker.Bugzilla, 59248, "[UWP] ItemTapped event is not fired when keyboard Enter Pressed on ListView", PlatformAffected.UWP)] - public class Bugzilla59248 : TestContentPage - { - protected override void Init() - { - var selectedItem = new Label { Text = "SelectedItem" }; - var list = new ListView - { - ItemsSource = new string[] { "A", "B", "C" }, - ItemTemplate = new DataTemplate(() => - { - var view = new ViewCell(); - view.View = new StackLayout - { - Children = - { - new Label { Text = "Label" }, - new Button { Text = "Click for alert", Command = new Command(() => DisplayAlert("Clicked the button in the listview item", "Ok", "Cancel"))} - } - }; - return view; - }) - }; - list.ItemTapped += List_ItemTapped; - list.ItemSelected += (s, e) => - { - selectedItem.Text = list.SelectedItem == null ? "None" : list.SelectedItem.ToString(); - }; - - Content = new StackLayout - { - Children = - { - list, - selectedItem - } - }; - } - - private void List_ItemTapped(object sender, ItemTappedEventArgs e) - { - if (e.Item != null) - DisplayAlert("Tapped: " + e.Item, "Ok", "Cancel"); - } - } -}
\ No newline at end of file diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems index 4412acae..5055f958 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems @@ -218,7 +218,6 @@ <Compile Include="$(MSBuildThisFileDirectory)Bugzilla57910.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla58406.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla58833.cs" /> - <Compile Include="$(MSBuildThisFileDirectory)Bugzilla59248.cs" /> <Compile Include="$(MSBuildThisFileDirectory)ButtonBackgroundColorTest.cs" /> <Compile Include="$(MSBuildThisFileDirectory)CarouselAsync.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla34561.cs" /> |