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

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

namespace Xamarin.Forms.Controls
{
	[Preserve (AllMembers=true)]
	[Issue (IssueTracker.Github, 1583, "NavigationPage.TitleIcon broken", PlatformAffected.Android | PlatformAffected.iOS | PlatformAffected.WinPhone)]
	public class Issue1583 : ContentPage
	{
		public Issue1583 ()
		{
			Title = "Test";
			BackgroundColor = Color.Pink;
			Content = new Label{Text = "Hello"};
			NavigationPage.SetTitleIcon(this, "bank.png");
		}
	}
}