Changeset 10659 for branches/DataPreprocessing
- Timestamp:
- 03/26/14 11:17:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs
r10636 r10659 213 213 if (e.State.HasFlag(DataGridViewElementStates.Selected)) return; 214 214 if (!e.PaintParts.HasFlag(DataGridViewPaintParts.Background)) return; 215 if (HighlightedRowIndices == null && HightlightedCells == null) return; 215 216 216 217 int rowIndex = virtualRowIndices[e.RowIndex]; … … 218 219 Color backColor = e.CellStyle.BackColor; 219 220 220 if (HighlightedRowIndices != null && HighlightedRowIndices.Contains(rowIndex) 221 || HightlightedCells != null && HightlightedCells.ContainsKey(e.ColumnIndex) && HightlightedCells[e.ColumnIndex].Contains(e.RowIndex)) { 221 if (HighlightedRowIndices.Contains(rowIndex) || HightlightedCells.ContainsKey(e.ColumnIndex) && HightlightedCells[e.ColumnIndex].Contains(e.RowIndex)) { 222 222 backColor = Color.Pink; 223 223 }
Note: See TracChangeset
for help on using the changeset viewer.