-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue10337.cs
64 lines (50 loc) · 1.2 KB
/
Issue10337.cs
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.Forms.Core.UITests;
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[Category(UITestCategories.Navigation)]
#endif
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 10337, "[Bug]iOS Renderer NavigationBar.ShadowImage = new UIImage() not remove shadow line after xamarin.forms 4.5", PlatformAffected.iOS)]
public class Issue10337 : TestNavigationPage
{
public Issue10337()
{
var page = new ContentPage
{
Title = "Issue 10337"
};
var layout = new StackLayout();
var navigateButton = new Button
{
Text = "Navigate using Custom NavigationPage"
};
navigateButton.Clicked += (sender, args) =>
{
Navigation.PushAsync(new Issue10337NavigationPage(new Issue10337()));
};
layout.Children.Add(navigateButton);
page.Content = layout;
PushAsync(page);
}
protected override void Init()
{
}
}
[Preserve(AllMembers = true)]
public class Issue10337NavigationPage : NavigationPage
{
public Issue10337NavigationPage()
{
}
public Issue10337NavigationPage(Page root) : base(root)
{
}
}
}