public void setCellReadOnly(int _columnIndex, int _rowIndex, PM_state _state) { cellInfo _cellInfo = new cellInfo(__model.row(_rowIndex).cell(_columnIndex), _columnIndex, _rowIndex); _cellInfo.cell.readOnly = _state; updateCell(_cellInfo); }
public void setColumnReadOnly(int _index, PM_state _readOnly) { PM_GridColumn _column = column(_index); if (_column == null) { return; } _column.readOnly = _readOnly; }
public void setRowReadOnly(int _index, PM_state _readOnly) { PM_GridRow _row = row(_index); if (_row == null) { return; } _row.readOnly = _readOnly; }
public override void applyIsReadOnly(PM_state _state) { }
/// <summary> /// PM_GridCell contient la propriété readOnly mais ne décide pas, à chaque affichage, /// d'appliquer son état readOly, ce rôle est laissé à la vue (PM_Grid). /// </summary> /// <param name="_state"></param> public override void applyIsReadOnly(PM_state _state) { //actual readOnly sera utilisé pour le prochain affichage. __actualyReadOnly = _state; }
public override void applyIsReadOnly(PM_state _state) { ((PM_GridTextBox)__control).IsReadOnly = (_state == PM_state.TRUE); }
public abstract void applyIsReadOnly(PM_state _state);
public void setRowReadOnly(int _rowIndex, PM_state _state) { __model.setRowReadOnly(_rowIndex, _state); updateCells(); }
public void setColumnReadOnly(int _columnIndex, PM_state _state) { __model.setColumnReadOnly(_columnIndex, _state); updateCells(); }
public void setReadOnly(PM_state _readOnly) { __model.readOnly = _readOnly; updateCells(); }