11 references to PaintSelectionBackground
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
665Color backBrushColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
1118Color brushColor = PaintSelectionBackground(paintParts) && cellSelected 1295backBrushColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
867Color brushColor = (PaintSelectionBackground(paintParts) && cellSelected) || IsHighlighted()
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1924Color brushColor = PaintSelectionBackground(paintParts) && cellSelected && !cellEdited
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
544Color backColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
776Color brushColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
910Color brushColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
735Color brushColor = PaintSelectionBackground(paintParts) && cellSelected
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
683Color brushColor = PaintSelectionBackground(paintParts) && cellSelected && !cellEdited
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
264Color brushColor = PaintSelectionBackground(paintParts) && cellSelected