Ejemplo n.º 1
0
 private void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
 {
     RightClickCell = Table.GetCellAt(new Point(contextMenuStrip1.Left, contextMenuStrip1.Top), true);
     if (RightClickCell == null)
     {
         e.Cancel = true;
         return;
     }
 }
Ejemplo n.º 2
0
    public override UITableViewCell GetCell(UITableView tableView, Foundation.NSIndexPath indexPath)
    {
        MyTableCell cell = tableView.DequeueReusableCell(CELL_ID) as MyTableCell;

        if (null == cell)
        {
            cell = new MyTableCell(UITableViewCellStyle.Default, CELL_ID);
            cell.InitCell();
        }
        cell.Text = dataList [indexPath.Row];
        return(cell);
    }