summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla21780.cs
blob: 825ae06c2b8b88b268cca20e2ff04a0c93a931cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;

namespace Xamarin.Forms.Controls
{
	[Preserve (AllMembers=true)]
	[Issue (IssueTracker.Bugzilla, 21780, "Windows Phone Editor control has black background with black text, background turns to white when editing", PlatformAffected.WinPhone)]
	public class Bugzilla21780 : ContentPage
	{
		public Bugzilla21780 ()
		{
			var label = new Label () { Text = "If text is visible in the editor below, this test has passed." };
			var editor = new Editor () { Text = "This text should be visible even if the editor does not have focus" };

			Content = new StackLayout() {
				Children = { label, editor }
			};
		}
	}
}