26 references to DrawFocusRectangle
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
543
ControlPaint.
DrawFocusRectangle
(g, r, Control.ForeColor, Control.BackColor);
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
840
ControlPaint.
DrawFocusRectangle
(e.Graphics, textBounds, foreColor, backColor);
860
ControlPaint.
DrawFocusRectangle
(e.Graphics, emptyRectangle, foreColor, backColor);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1313
DrawFocusRectangle
(graphics, rectangle, SystemColors.ControlText, SystemColors.Control);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
734
ControlPaint.
DrawFocusRectangle
(g, textBounds, ((SolidBrush)textBrush).Color, ((SolidBrush)GetBackBrush()).Color);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
944
ControlPaint.
DrawFocusRectangle
(g, Rectangle.Inflate(valBounds, -1, -1), Color.Empty, SystemColors.Control);
1002
ControlPaint.
DrawFocusRectangle
(g,
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1246
ControlPaint.
DrawFocusRectangle
(g, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2548
ControlPaint.
DrawFocusRectangle
(g, focusBounds, Color.Empty, br.Color);
2559
ControlPaint.
DrawFocusRectangle
(g, focusBounds, Color.Empty, br.Color);
2564
ControlPaint.
DrawFocusRectangle
(g, textBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
952
ControlPaint.
DrawFocusRectangle
(g, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
1084
ControlPaint.
DrawFocusRectangle
(g, focusBounds, Color.Empty, br.Color);
1121
ControlPaint.
DrawFocusRectangle
(g, errorBounds, Color.Empty, br.Color);
1147
ControlPaint.
DrawFocusRectangle
(g, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
1300
ControlPaint.
DrawFocusRectangle
(graphics, bounds, Color.Empty, backColor);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
745
ControlPaint.
DrawFocusRectangle
(graphics, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
198
ControlPaint.
DrawFocusRectangle
(Graphics, rect, ForeColor, BackColor);
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
141
ControlPaint.
DrawFocusRectangle
(graphics, UpdateBounds(focusBounds, false /*drawText*/), item.ForeColor, item.BackColor);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
185
ControlPaint.
DrawFocusRectangle
(graphics, Rectangle.Inflate(bounds, -1, -1), item.ForeColor, item.BackColor);
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1461
ControlPaint.
DrawFocusRectangle
(g, focusRect, ForeColor, BackColor);
1465
ControlPaint.
DrawFocusRectangle
(g, Rectangle.Ceiling(rect), ForeColor, BackColor);
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
219
ControlPaint.
DrawFocusRectangle
(g, focusRect, SystemColors.ControlText, OwnerGrid.LineColor);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
114
ControlPaint.
DrawFocusRectangle
(pevent.Graphics, dropDownButtonRect, ForeColor, BackColor);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1623
ControlPaint.
DrawFocusRectangle
(g, r, this.ForeColor, this.BackColor);
winforms\Managed\System\WinForms\TreeView.cs (1)
2844
ControlPaint.
DrawFocusRectangle
(g, bounds, color, SystemColors.Highlight);