Esempio n. 1
0
 private void ListView_Swiping(object sender, SwipingEventArgs e)
 {
     if (e.ItemIndex == 1 && e.SwipeOffSet > 140)
     {
         e.Handled = true;
     }
 }
Esempio n. 2
0
 private void SfListView_OnSwiping(object sender, SwipingEventArgs e)
 {
     if (e.SwipeOffSet > 200)
     {
         e.Handled = true;
     }
 }
Esempio n. 3
0
        private void ListView_Swiping(object sender, SwipingEventArgs e)
        {
            //if (e.ItemIndex == 1 && e.SwipeOffSet > 70)
            //    e.Handled = true;
            //if((e.SwipeDirection).Equals(""))

            //    if (e.SwipeOffSet >= 200)
            //{
            //    this.orders.OrderCollection.RemoveAt(e.ItemIndex);
            //    //listView.ResetSwipe();
            //}
            //if (e.SwipeDirection.Equals(Syncfusion.ListView.XForms.SwipeDirection.Right) && e.SwipeOffSet >= 150)
            //{
            //    orders.OrderCollection.RemoveAt(e.ItemIndex);
            //}
        }
 void OnSwiping(object sender, SwipingEventArgs e)
 {
     Console.Write("Swiping at location {0}\n", e.Location);
 }
 private void OnSwiping(object sender, SwipingEventArgs e)
 {
     Console.Write("Swiping at location {0}\n", e.Location);
 }