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

34 строки
722 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
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
}
}
}