From 1e0b71dbaeab723a41914b9f37d0bbdf4d17d7af Mon Sep 17 00:00:00 2001 From: Mike Mostachetti Date: Wed, 29 Jul 2020 23:23:16 -0700 Subject: [PATCH 1/4] Always call base ChangeVisualState for checkbox --- .../Issue3150.cs | 1 + .../Issue9106.xaml | 30 +++++++++ .../Issue9106.xaml.cs | 65 +++++++++++++++++++ ...rin.Forms.Controls.Issues.Shared.projitems | 8 +++ Xamarin.Forms.Core/CheckBox.cs | 4 +- 5 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9106.xaml create mode 100644 Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9106.xaml.cs diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3150.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3150.cs index 528181ef2df..2208e896839 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3150.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3150.cs @@ -24,6 +24,7 @@ protected override void Init() } }; + Button button = null; button = new Button() { diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9106.xaml b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9106.xaml new file mode 100644 index 00000000000..a1f47bd541a --- /dev/null +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9106.xaml @@ -0,0 +1,30 @@ + + + +