Inheritance: System.EventArgs
コード例 #1
0
            void OnScrolling(object sender, ScrollingEventArgs e)
            {
                //uncomment to close any other cells that are open when another cell is swiped

                /*
                 * if (e.CellState != SWCellState.Center) {
                 *      var paths = this.controller.TableView.IndexPathsForVisibleRows;
                 *      foreach (var path in paths) {
                 *              if(path.Equals(e.IndexPath))
                 *                 continue;
                 *              var cell = (SWTableViewCell)this.controller.TableView.CellAt (path);
                 *              if (cell.State != SWCellState.Center) {
                 *                      cell.HideSwipedContent (true);
                 *              }
                 *      }
                 * }
                 */
            }
 void OnScrolling(object sender, ScrollingEventArgs e)
 {
     //uncomment to close any other cells that are open when another cell is swiped
     /*
     if (e.CellState != SWCellState.Center) {
         var paths = this.controller.TableView.IndexPathsForVisibleRows;
         foreach (var path in paths) {
             if(path.Equals(e.IndexPath))
                continue;
             var cell = (SWTableViewCell)this.controller.TableView.CellAt (path);
             if (cell.State != SWCellState.Center) {
                 cell.HideSwipedContent (true);
             }
         }
     }
     */
 }