blob: 875d83b595b07744a4567d82d914bfa233bee6db (
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
|
using System;
using Xamarin.Forms.CustomAttributes;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Issue (IssueTracker.Bugzilla, 27085, "EntryCell has no possibility to hide keyboard on iOS")]
public class Bugzilla27085 : TestContentPage // or TestMasterDetailPage, etc ...
{
protected override void Init ()
{
var tableview = new TableView ();
var section = new TableSection ("Settings");
section.Add (new TextCell { Text = "TextCell" });
section.Add (new TextCell { Text = "TextCell" });
section.Add (new EntryCell { Text = "EntryCell", Keyboard = Keyboard.Numeric });
section.Add (new EntryCell { Text = "EntryCell", Keyboard = Keyboard.Numeric });
var root = new TableRoot ("Main");
root.Add (section);
tableview.Root = root;
Content = tableview;
}
#if UITEST
#endif
}
}
|