11 references to ClientRectWithPadding
System.Windows.Forms (11)
winforms\Managed\System\WinForms\LinkLabel.cs (11)
659
Region[] textRegions = g.MeasureCharacterRanges (text, alwaysUnderlined,
ClientRectWithPadding
, textFormat);
677
Rectangle clientRectWithPadding =
ClientRectWithPadding
;
1144
Rectangle clientRect = this.
ClientRectWithPadding
;
1179
finalrect = this.
ClientRectWithPadding
;
1189
finalrect = CalcTextRenderBounds(System.Drawing.Rectangle.Round(finalrect) /*textRect*/, this.
ClientRectWithPadding
/*clientRect*/, RtlTranslateContent(this.TextAlign));
1250
ControlPaint.DrawStringDisabled(e.Graphics, Text, Font, DisabledColor,
ClientRectWithPadding
, stringFormat);
1262
Rectangle clientRectWidthPadding =
ClientRectWithPadding
;
1425
g.DrawString(Text, font, useBrush,
ClientRectWithPadding
, stringFormat);
1445
Rectangle clientRectWithPadding =
ClientRectWithPadding
;
1484
g.DrawString(Text, font, foreBrush,
ClientRectWithPadding
, stringFormat);
1498
Rectangle clientRectWithPadding =
ClientRectWithPadding
;