blob: 9aafca63d81b3c383c9906063b13c727b8ca3a8b (
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
|
using System.Diagnostics;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers=true)]
[Issue (IssueTracker.Github, 1028, "ViewCell in TableView raises exception - root page is ContentPage, Content is TableView" ,PlatformAffected.WinPhone, NavigationBehavior.PushModalAsync)]
public class Issue1028 : ContentPage
{
// Issue1028, ViewCell with StackLayout causes exception when nested in a table section. This occurs when the app's root page is a ContentPage with a TableView.
public Issue1028 ()
{
Content = new TableView {
Root = new TableRoot ("Table Title") {
new TableSection ("Section 1 Title") {
new ViewCell {
View = new StackLayout {
Children = {
new Label {
Text = "Custom Slider View:"
},
}
}
}
}
}
};
}
}
}
|