13 references to Graphics
System.Windows.Forms (12)
winforms\Managed\System\WinForms\CheckedListBox.cs (9)
682idealCheckSize = (int)(CheckBoxRenderer.GetGlyphSize(e.Graphics, cbState, HandleInternal)).Width; 712CheckBoxRenderer.DrawCheckBox(e.Graphics, new Point(box.X, box.Y), cbState, HandleInternal); 715ControlPaint.DrawCheckBox(e.Graphics, box, state); 763e.Graphics.FillRectangle(b, textBounds); 814e.Graphics.DrawString(text, font, brush, stringBounds, format); 833TextRenderer.DrawText(e.Graphics, text, font, stringBounds, foreColor, flags ); 840ControlPaint.DrawFocusRectangle(e.Graphics, textBounds, foreColor, backColor); 860ControlPaint.DrawFocusRectangle(e.Graphics, emptyRectangle, foreColor, backColor); 866e.Graphics.FillRectangle(brush, emptyRectangle);
winforms\Managed\System\WinForms\DrawItemEvent.cs (2)
187Graphics.FillRectangle(backBrush, rect); 198ControlPaint.DrawFocusRectangle(Graphics, rect, ForeColor, BackColor);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
2564DrawValue(die.Graphics, drawBounds, drawBounds, gridEntry, gridEntry.ConvertTextToValue(text), (int)(die.State & DrawItemState.Selected) != 0, false, false, false);
System.WorkflowServices (1)
System\Workflow\Activities\Design\RichListBox.cs (1)
142e.Graphics.DrawImage(rendererBitmap, e.Bounds.Location);