23 references to DrawFocusRectangle
System.Windows.Forms (16)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (4)
119ControlPaint.DrawFocusRectangle(graphics, contentBounds); 166ControlPaint.DrawFocusRectangle(g, contentBounds); 193ControlPaint.DrawFocusRectangle(g, contentBounds); 277ControlPaint.DrawFocusRectangle(graphics, contentBounds);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (2)
151ControlPaint.DrawFocusRectangle(g, textBounds); 223ControlPaint.DrawFocusRectangle(g, textBounds);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (2)
151ControlPaint.DrawFocusRectangle(g, textBounds); 244ControlPaint.DrawFocusRectangle(g, textBounds);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16703ControlPaint.DrawFocusRectangle(g, GetGridFocusRectangle());
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
129ControlPaint.DrawFocusRectangle(g, focusRect);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2213ControlPaint.DrawFocusRectangle(g, new Rectangle(_offset2Units, _offset2Units, Size.Width - doubleOffset, Size.Height - doubleOffset));
System\Windows\Forms\Controls\TabControl\TabRenderer.cs (4)
47ControlPaint.DrawFocusRectangle(g, contentBounds); 84ControlPaint.DrawFocusRectangle(g, contentBounds); 104ControlPaint.DrawFocusRectangle(g, contentBounds); 135ControlPaint.DrawFocusRectangle(g, contentBounds);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
724ControlPaint.DrawFocusRectangle(e.Graphics, focusRect);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
591ControlPaint.DrawFocusRectangle(g, res);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
155ControlPaint.DrawFocusRectangle(g, new Rectangle(2, 2, Width - 5, Height - 5));
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
275ControlPaint.DrawFocusRectangle(e.Graphics, rc); 281ControlPaint.DrawFocusRectangle(e.Graphics, rc);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlPaintTests.cs (3)
1179ControlPaint.DrawFocusRectangle(graphics, rectangle); 1182ControlPaint.DrawFocusRectangle(graphics, rectangle); 1219Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawFocusRectangle(null, new Rectangle(1, 2, 3, 4)));