11 references to PaintSelectionBackground
System.Windows.Forms (11)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
719
SolidBrush backBrush = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1217
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
1372
backBrush = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
893
br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) || IsHighlighted() ?
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2160
if (DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected && !cellEdited)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
656
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
841
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1019
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
866
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
708
if (DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected && !cellEdited)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
305
SolidBrush br = this.DataGridView.GetCachedBrush((DataGridViewCell.
PaintSelectionBackground
(paintParts) && cellSelected) ? cellStyle.SelectionBackColor : cellStyle.BackColor);