maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Bugzilla39463.xaml.cs

35 строки
753 B
C#
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
2016-03-22 23:02:25 +03:00
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 39463, "Items not showing in ListView using DataTemplate when there are more items than can fit on screen", PlatformAffected.WinPhone)]
public partial class Bugzilla39463 : ContentPage
{
public Bugzilla39463 ()
{
#if !UITEST
InitializeComponent ();
var n = 16;
var listStr = new List<string>();
for (int i = 0; i < n; i++)
{
listStr.Add("Test : " + i);
}
lvView.ItemsSource = listStr;
#endif
}
}
}