summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1741.xaml.cs
blob: ab83c81af09d747d24606d476391c39c5236004e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;

namespace Xamarin.Forms.Controls
{
#if APP
	[Preserve (AllMembers = true)]
	[Issue (IssueTracker.Github, 1741, "Switch.IsEnabled = false does not disable a switch when switch is defined in XAML", PlatformAffected.WinPhone)]
	public partial class Issue1741 : ContentPage
	{
		public Issue1741 ()
		{
			InitializeComponent();
		}

		public void Anonymous_Toggled (object sender, EventArgs e)
		{
			chkAnon.IsEnabled = !chkAnon.IsEnabled;
		}
	}
#endif
}