Ejemplo n.º 1
0
        public void CellPerformedAction(KNTableView view, KNTableColumn column, KNActionCell cell, int rowIndex)
        {
            if (column.Identifier.Equals("bool")) {
                bools[rowIndex] = (bool)KNCellDependencyProperty.GetObjectValue((DependencyObject)cell);
            }

            if (column.Identifier.Equals("button")) {
                MessageBox.Show("Clicked!");
            }
        }
Ejemplo n.º 2
0
        public void Action(int row, ref KNTableColumn Column, KNActionCell Cell) {

            ((UpdateSigningKey)keys[row]).Name = (string)Cell.ObjectValue;
            Save();
        }
Ejemplo n.º 3
0
        public void CellPerformedAction(KNActionCell cell)
        {
            if (cell == HeaderCell) {

                if (Delegate != null) {
                    Delegate.HeaderWasClicked(this);
                }

            } else {

                if (Delegate != null) {
                    Delegate.ActionCellPerformedAction(cell, this);
                }
            }
        }
Ejemplo n.º 4
0
 public void ActionCellPerformedAction(KNActionCell cell, KNTableColumn column)
 {
     if (DataSource != null) {
         DataSource.CellPerformedAction(this, column, cell, column.RowForCell(cell));
         ReloadData();
     }
 }
Ejemplo n.º 5
0
 public void Action(int row, ref KNTableColumn Column, KNActionCell Cell)
 {
     ((UpdateSigningKey)keys[row]).Name = (string)Cell.ObjectValue;
     Save();
 }