summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs
new file mode 100644
index 00000000..bb18f5f2
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Linq;
+
+using Xamarin.Forms.CustomAttributes;
+
+namespace Xamarin.Forms.Controls
+{
+ [Preserve (AllMembers=true)]
+ [Issue (IssueTracker.Github, 214, "TextCell DetailColor change not immediate", PlatformAffected.iOS)]
+ public class Issue214 : ContentPage
+ {
+ public Issue214 ()
+ {
+ var items = Enumerable.Range (0, 50).Select (i => new TextCell {
+ Text = i.ToString (),
+ Detail = i.ToString ()
+ }).ToList ();
+
+ var tableSection = new TableSection("First Section");
+ foreach (TextCell cell in items) {
+ tableSection.Add (cell);
+ }
+
+ var tableRoot = new TableRoot () {
+ tableSection
+ };
+
+ var tableLayout = new TableView {
+ Root = tableRoot
+ };
+
+ tableLayout.Intent = TableIntent.Data;
+ Content = tableLayout;
+ }
+ }
+}