summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1705.cs
blob: 564c7916ec029211629ccc93890d8be302c0f701 (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
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

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

namespace Xamarin.Forms.Controls
{
	[Preserve (AllMembers=true)]
	[Issue (IssueTracker.Github, 1705, "Editor.IsEnabled = false", PlatformAffected.iOS)]
	public class Issue1705 : ContentPage
	{
		public Issue1705 ()
		{
			Title = "test page";
			Padding = 10;

			var layout = new StackLayout ();
			var t = new Entry {
				IsEnabled = false
			};

			var e = new Editor {
				IsEnabled = false,
				BackgroundColor = Color.Aqua
			};

			layout.Children.Add (e);
			layout.Children.Add (t);

			Content = layout;
		}
	}

}