13 references to Graphics
System.Windows.Forms (12)
winforms\Managed\System\WinForms\CheckedListBox.cs (9)
682
idealCheckSize = (int)(CheckBoxRenderer.GetGlyphSize(e.
Graphics
, cbState, HandleInternal)).Width;
712
CheckBoxRenderer.DrawCheckBox(e.
Graphics
, new Point(box.X, box.Y), cbState, HandleInternal);
715
ControlPaint.DrawCheckBox(e.
Graphics
, box, state);
763
e.
Graphics
.FillRectangle(b, textBounds);
814
e.
Graphics
.DrawString(text, font, brush, stringBounds, format);
833
TextRenderer.DrawText(e.
Graphics
, text, font, stringBounds, foreColor, flags );
840
ControlPaint.DrawFocusRectangle(e.
Graphics
, textBounds, foreColor, backColor);
860
ControlPaint.DrawFocusRectangle(e.
Graphics
, emptyRectangle, foreColor, backColor);
866
e.
Graphics
.FillRectangle(brush, emptyRectangle);
winforms\Managed\System\WinForms\DrawItemEvent.cs (2)
187
Graphics
.FillRectangle(backBrush, rect);
198
ControlPaint.DrawFocusRectangle(
Graphics
, rect, ForeColor, BackColor);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
2564
DrawValue(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)
142
e.
Graphics
.DrawImage(rendererBitmap, e.Bounds.Location);