1
我開發的Windows Phone 8的應用程序,我有一個包含從Web服務一個LongListSelector其負載數據的頁面,並顯示到列表MyList.ItemsSource = list;
如何檢測LongListSelector的結尾?
我想加載更多的數據,當用戶滾動到年底的名單或接受它。
我準備的方法:
var list = await LoadDataAsync(); //This method loads data for the next few elements to be displayed
foreach (var element in list)
{
MyList.ItemsSource.Add(element);
}
但我不能找出哪些事件處理程序是負責這個。
請幫助我,並提前致謝!
感謝您的快速答覆。但是你的解決方案使用ListBox,我想使用Windows Phone 8特有的LongListSelector。 – Oussama