2 overrides of Font
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
223
public override Font
Font
{
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
181
public override Font
Font
{
5 writes to Font
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
754
childItem.
Font
= new Font(local.FontFamily, local.Size * factor, local.Style,
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3791
Font
= null;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
632
menuItem.
Font
= this.Font;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
186
base.
Font
= value;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
304
splitButtonButton.
Font
= this.Font;
18 references to Font
System.Windows.Forms (18)
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
263
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(e.Graphics, this, this.Text, InternalLayout.TextRectangle, this.ForeColor, this.
Font
, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
488
return OwnerItem.
Font
;
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
176
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.Text, InternalLayout.TextRectangle, this.ForeColor, this.
Font
, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (2)
751
Font local = childItem.
Font
;
752
if (!local.Equals(childItem.OwnerItem?.
Font
)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (4)
2725
cachedTextSize = TextRenderer.MeasureText(Text,
Font
);
3574
Font f = this.
Font
;
3592
if (f !=
Font
) {
4703
layoutOptions.font = ownerItem.
Font
;
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
317
Font font = this.
Font
;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (5)
632
menuItem.Font = this.
Font
;
841
cachedShortcutSize = TextRenderer.MeasureText(shortcutString,
Font
);
1100
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.Text, InternalLayout.TextRectangle, textColor, this.
Font
, (rightToLeft) ? ContentAlignment.MiddleRight : ContentAlignment.MiddleLeft));
1107
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, GetShortcutText(), InternalLayout.TextRectangle, textColor, this.
Font
, (rightToLeft) ? ContentAlignment.MiddleLeft : ContentAlignment.MiddleRight));
1129
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, this.Text, InternalLayout.TextRectangle, textColor, this.
Font
, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
183
return base.
Font
;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
304
splitButtonButton.Font = this.
Font
;
616
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, SplitButtonButton.Text, SplitButtonButtonLayout.TextRectangle, this.ForeColor, this.
Font
, SplitButtonButtonLayout.TextFormat));