15 overrides of Font
System.Windows.Forms (14)
winforms\Managed\System\WinForms\AxHost.cs (1)
503
public override Font
Font
{
winforms\Managed\System\WinForms\DataGridView.cs (1)
3278
public override Font
Font
winforms\Managed\System\WinForms\ListBox.cs (1)
474
public override Font
Font
{
winforms\Managed\System\WinForms\PictureBox.cs (1)
350
public override Font
Font
{
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1097
public override Font
Font
{
winforms\Managed\System\WinForms\ProgressBar.cs (1)
280
public override Font
Font
{
winforms\Managed\System\WinForms\RichTextBox.cs (1)
519
public override Font
Font
{
winforms\Managed\System\WinForms\ScrollBar.cs (1)
259
public override Font
Font
{
winforms\Managed\System\WinForms\Splitter.cs (1)
215
public override Font
Font
{
winforms\Managed\System\WinForms\StatusBar.cs (1)
299
public override Font
Font
{
winforms\Managed\System\WinForms\ToolStrip.cs (1)
628
public override Font
Font
{
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
697
public override Font
Font
{
winforms\Managed\System\WinForms\TrackBar.cs (1)
272
public override Font
Font
{
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1397
public override Font
Font
{
System.WorkflowServices (1)
System\Workflow\Activities\Design\EditableLabelControl.cs (1)
30
public override Font
Font
71 writes to Font
System.Web.Entity.Design (2)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
76
Font
= dialogFont;
System\Data\WebControls\Design\Util\TaskFormBase.cs (1)
166
_captionLabel.
Font
= new Font(Font.FontFamily, Font.Size + 2.0f, FontStyle.Bold, Font.Unit);
System.Web.Mobile (2)
UI\MobileControls\Design\DesignerForm.cs (1)
60
Font
= dialogFont;
UI\MobileControls\Design\Util\GenericUI.cs (1)
55
dialog.
Font
= GetVS7Font(site);
System.Windows.Forms (48)
winforms\Managed\System\WinForms\AxHost.cs (1)
509
base.
Font
= value;
winforms\Managed\System\WinForms\Control.cs (2)
10894
Font
= null;
13433
this.
Font
= new Font(local.FontFamily, local.Size * factor, local.Style, local.Unit, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\DataGridView.cs (1)
3286
base.
Font
= value;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
131
this.
Font
= dataGridViewCellStyle.Font;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
133
this.
Font
= dataGridViewCellStyle.Font;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
220
this.
Font
= uiFont;
winforms\Managed\System\WinForms\Form.cs (1)
5119
Font
= DpiHelper.EnableDpiChangedHighDpiImprovements ?
winforms\Managed\System\WinForms\ListBox.cs (1)
479
base.
Font
= value;
winforms\Managed\System\WinForms\PictureBox.cs (1)
355
base.
Font
= value;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1102
base.
Font
= value;
winforms\Managed\System\WinForms\ProgressBar.cs (1)
285
base.
Font
= value;
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
229
m_labelTitle.
Font
= new Font(Font, FontStyle.Bold);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
39
this.
Font
= controls[0].Font;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (6)
762
toolTip.
Font
= this.Font;
3679
ToolTip.
Font
= this.Font;
3700
ToolTip.
Font
= this.Font;
4459
Edit.
Font
= GetBoldFont();
4462
Edit.
Font
= Font;
5952
this.
Font
= gridView.Font;
winforms\Managed\System\WinForms\RichTextBox.cs (4)
528
base.
Font
= null;
540
base.
Font
= GetCharFormatFont(false);
549
base.
Font
= value;
553
base.
Font
= value;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
264
base.
Font
= value;
winforms\Managed\System\WinForms\Splitter.cs (1)
220
base.
Font
= value;
winforms\Managed\System\WinForms\StatusBar.cs (1)
302
base.
Font
= value;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
642
base.
Font
= value;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
131
comboBox.
Font
= ToolStripManager.DefaultFont;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
228
Control.
Font
= value;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
700
base.
Font
= value;
winforms\Managed\System\WinForms\TrackBar.cs (1)
277
base.
Font
= value;
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (10)
39
this.
Font
= SystemFonts.MessageBoxFont;
40
lblMachineAccess.
Font
= lblPublisher.
Font
= lblInstallation.
Font
= lblLocation.
Font
= new Font(lblMachineAccess.Font, FontStyle.Bold);
435
this.
Font
= SystemFonts.MessageBoxFont;
436
this.lblLocation.
Font
=
437
this.lblInstallation.
Font
=
438
this.lblMachineAccess.
Font
=
439
this.lblPublisher.
Font
= new Font(this.Font, FontStyle.Bold);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (5)
841
this.
Font
= SystemFonts.MessageBoxFont;
842
this.lblQuestion.
Font
=
843
this.lblPublisher.
Font
=
844
this.lblFrom.
Font
=
845
this.lblName.
Font
= new Font(this.Font, FontStyle.Bold);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1402
base.
Font
= value;
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
1442
base.
Font
= value;
System.Workflow.Activities (3)
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
57
this.
Font
= (Font)uisvc.Styles["DialogFont"];
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
50
this.
Font
= (Font)uisvc.Styles["DialogFont"];
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
42
this.
Font
= (Font)uisvc.Styles["DialogFont"];
System.Workflow.ComponentModel (9)
AuthoringOM\Design\DesignerWidgets.cs (2)
1007
this.palette.
Font
= this.font;
1702
Font
= new Font(Font.FontFamily, this.reqTabItemSize * 2 / 3, GraphicsUnit.Pixel);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
64
this.
Font
= (Font)uisvc.Styles["DialogFont"];
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
90
Font
= StandardFont;
636
Font
= StandardFont;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
818
this.
Font
= (Font)uisvc.Styles["DialogFont"];
821
this.artifactLabel.
Font
= new Font(this.Font.Name, this.Font.SizeInPoints, FontStyle.Bold);
AuthoringOM\Design\DocumentOutline.cs (2)
62
this.
Font
= (Font)uiService.Styles["DialogFont"];
70
this.treeView.
Font
= this.Font;
System.WorkflowServices (6)
System\Workflow\Activities\Design\EditableLabelControl.cs (3)
38
base.
Font
= value;
39
label.
Font
= value;
86
TextBox.
Font
= this.Font;
System\Workflow\Activities\Design\OperationPickerDialog.cs (2)
37
this.
Font
= (Font) uisvc.Styles["DialogFont"];
508
this.
Font
= new Font(this.Font, FontStyle.Italic);
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
66
this.
Font
= (Font) uisvc.Styles["DialogFont"];
183 references to Font
System.Web.Entity.Design (3)
System\Data\WebControls\Design\Util\TaskFormBase.cs (3)
166
_captionLabel.Font = new Font(
Font
.FontFamily,
Font
.Size + 2.0f, FontStyle.Bold,
Font
.Unit);
System.Web.Mobile (2)
UI\MobileControls\Design\Util\GroupLabel.cs (2)
40
g.DrawString(text,
Font
, foreBrush, 0, 0);
46
Size sz = Size.Ceiling(g.MeasureString(text,
Font
));
System.Windows.Forms (160)
winforms\Managed\System\WinForms\AxHost.cs (3)
505
return base.
Font
;
2419
return GetIFontFromFont(richParent.
Font
);
4443
qaContainer.pFont = GetIFontFromFont(GetParentContainer().parent.
Font
);
winforms\Managed\System\WinForms\Button.cs (1)
129
requiredSize = TextRenderer.MeasureText(this.Text, this.
Font
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (8)
634
g.DrawString(Control.Text, Control.
Font
, brush, r, stringFormat);
638
g.DrawString(Control.Text, Control.
Font
, brush, r, stringFormat);
650
g.DrawString(Control.Text, Control.
Font
, brush, r, stringFormat);
663
TextRenderer.DrawText(g, Control.Text, Control.
Font
, r, colors.buttonShadow, formatFlags);
667
TextRenderer.DrawText(g, Control.Text, Control.
Font
, r, colors.highlight, formatFlags);
670
TextRenderer.DrawText(g, Control.Text, Control.
Font
, r, colors.buttonShadow, formatFlags);
674
TextRenderer.DrawText(g, Control.Text, Control.
Font
, r, c, formatFlags);
1544
layout.font = Control.
Font
;
winforms\Managed\System\WinForms\CheckBox.cs (1)
378
Size textSize = TextRenderer.MeasureText(this.Text, this.
Font
);
winforms\Managed\System\WinForms\ComboBox.cs (4)
936
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, this.
Font
, new Size(Int16.MaxValue, (int)(FontHeight * 1.25)), TextFormatFlags.SingleLine);
946
Size textSize = TextRenderer.MeasureText(LayoutUtils.TestString, this.
Font
, new Size(Int16.MaxValue, (int)(FontHeight * 1.25)), TextFormatFlags.SingleLine);
978
using (WindowsFont font = WindowsFont.FromFont(this.
Font
)) {
3612
OnDrawItem(new DrawItemEventArgs(g,
Font
, Rectangle.FromLTRB(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom),
winforms\Managed\System\WinForms\Control.cs (17)
2527
Font resolved =
Font
;
2582
Font resolved =
Font
;
2584
new Font(this.
Font
.FontFamily, this.
Font
.Size * factor, this.
Font
.Style, this.
Font
.Unit, this.
Font
.GdiCharSet, this.
Font
.GdiVerticalFont) :
2585
new Font(this.
Font
.FontFamily, this.
Font
.Size * factor, this.
Font
.Style);
2691
localFontHeight =
Font
.Height;
2768
return ParentInternal.
Font
;
3843
oldFont =
Font
;
3861
if (checkFont && !oldFont.Equals(
Font
)) {
5476
Font oldFont =
Font
;
5506
if (!oldFont.Equals(
Font
)) {
winforms\Managed\System\WinForms\DataGrid.cs (3)
2127
return(headerFont == null ? this.
Font
: headerFont);
8501
linkFont = new Font(
Font
, FontStyle.Underline);
8505
fontHeight =
Font
.Height;
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
88
if (dataGridFont == null || !dataGridFont.Equals(dataGrid.
Font
)) {
90
this.dataGridFont = new Font(dataGrid.
Font
, FontStyle.Bold);
winforms\Managed\System\WinForms\DataGridParentRows.cs (4)
344
textRegionHeight = (int)dataGrid.
Font
.Height + 2;
686
tableNameBoxWidth = GetTableBoxWidth(g, dataGrid.
Font
);
694
colsNameWidths[i] = GetColBoxWidth(g, dataGrid.
Font
, i);
721
int paintedWidth = PaintRow(g, rowBounds, row, dataGrid.
Font
, alignToRight, tableNameBoxWidth, colsNameWidths, colsDataWidths);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
719
Font textFont = this.DataGrid.
Font
;
winforms\Managed\System\WinForms\DataGridTable.cs (1)
657
return(headerFont == null ? (this.DataGrid == null ? Control.DefaultFont : this.DataGrid.
Font
) : headerFont);
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (2)
334
Size extents = Size.Ceiling(g.MeasureString(GetText(value), DataGridTableStyle.DataGrid.
Font
));
617
g.DrawString(text, this.DataGridTableStyle.DataGrid.
Font
, foreBrush, rect, format);
winforms\Managed\System\WinForms\DataGridView.cs (5)
1952
defaultStyle.Font = base.
Font
;
2533
defaultCellStyleTmp.Font = base.
Font
;
2579
defaultCellStyle.Font = base.
Font
;
2641
defaultStyle.Font = base.
Font
;
3282
return base.
Font
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
830
Size preferredSize = TextRenderer.MeasureText(comboBox.GetItemText(item), comboBox.
Font
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
15596
this.ColumnHeadersDefaultCellStyle.Font != base.
Font
)
15598
this.ColumnHeadersDefaultCellStyle.Font = base.
Font
;
15605
this.RowHeadersDefaultCellStyle.Font != base.
Font
)
15607
this.RowHeadersDefaultCellStyle.Font = base.
Font
;
15614
this.DefaultCellStyle.Font != base.
Font
)
15616
this.DefaultCellStyle.Font = base.
Font
;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
274
return
Font
;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
246
int titleWidth = (int) graphics.MeasureString(title,
Font
).Width;
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
606
int width = LayoutUtils.OldGetLargestStringSizeInCollection(
Font
, Items).Width;
winforms\Managed\System\WinForms\Form.cs (11)
612
SizeF real = GetAutoScaleSize(
Font
);
3370
SizeF newVarF = GetAutoScaleSize(
Font
);
5120
new Font(this.
Font
.FontFamily, this.
Font
.Size * factor, this.
Font
.Style, this.
Font
.Unit, this.
Font
.GdiCharSet, this.
Font
.GdiVerticalFont) :
5121
new Font(this.
Font
.FontFamily, this.
Font
.Size * factor, this.
Font
.Style);
winforms\Managed\System\WinForms\GroupBox.cs (12)
205
fontHeight = (int)
Font
.Height;
206
cachedFont =
Font
;
208
else if (!object.ReferenceEquals(cachedFont,
Font
)) {
213
fontHeight = (int)
Font
.Height;
214
cachedFont =
Font
;
537
GroupBoxRenderer.DrawGroupBox(e.Graphics, new Rectangle(0, 0, Width, Height), Text,
Font
, textcolor, textFlags, gbState);
540
GroupBoxRenderer.DrawGroupBox(e.Graphics, new Rectangle(0, 0, Width, Height), Text,
Font
, textFlags, gbState);
576
textSize = Size.Ceiling(graphics.MeasureString(Text,
Font
, textRectangle.Width, format));
579
graphics.DrawString(Text,
Font
, textBrush, textRectangle, format);
582
ControlPaint.DrawStringDisabled(graphics, Text,
Font
, backColor, textRectangle, format);
601
using (WindowsFont wfont = WindowsGraphicsCacheManager.GetWindowsFont(this.
Font
)) {
608
ControlPaint.DrawStringDisabled(wg, Text,
Font
, backColor, textRectangle, ((TextFormatFlags) flags));
winforms\Managed\System\WinForms\Label.cs (9)
1144
if (!MeasureTextCache.TextRequiresWordBreak(Text,
Font
, constrainingSize, flags)) {
1298
using (WindowsFont font = WindowsFont.FromFont(this.
Font
)) {
1306
requiredSize = MeasureTextCache.GetTextSize(Text,
Font
, proposedConstraints, format);
1316
requiredSize = Size.Ceiling(measurementGraphics.MeasureString(Text,
Font
, bounds, stringFormat));
1355
using (WindowsFont wf = WindowsGraphicsCacheManager.GetWindowsFont(this.
Font
)) {
1549
e.Graphics.DrawString(Text,
Font
, brush, face, stringFormat);
1553
ControlPaint.DrawStringDisabled(e.Graphics, Text,
Font
, color, face, stringFormat);
1561
TextRenderer.DrawText(e.Graphics, Text,
Font
, face, color, flags);
1568
TextRenderer.DrawText(e.Graphics, Text,
Font
, face, disabledTextForeColor, flags);
winforms\Managed\System\WinForms\LinkLabel.cs (8)
650
Font alwaysUnderlined = new Font(
Font
,
Font
.Style | FontStyle.Underline);
692
using (WindowsFont wf = WindowsGraphicsCacheManager.GetWindowsFont(this.
Font
)) {
1162
LinkUtilities.EnsureLinkFonts(this.
Font
, this.LinkBehavior, ref this.linkFont, ref this.hoverLinkFont);
1182
Size requiredSize = MeasureTextCache.GetTextSize(Text,
Font
, finalRectSize, CreateTextFormatFlags(finalRectSize));
1250
ControlPaint.DrawStringDisabled(e.Graphics, Text,
Font
, DisabledColor, ClientRectWithPadding, stringFormat);
1264
ControlPaint.DrawStringDisabled(e.Graphics, Text,
Font
, foreColor, clientRectWidthPadding, CreateTextFormatFlags(clientRectWidthPadding.Size));
1383
Font font =
Font
;
winforms\Managed\System\WinForms\ListBox.cs (1)
476
return base.
Font
;
winforms\Managed\System\WinForms\ListView.cs (4)
248
odCacheFont =
Font
;
2505
odCacheFont = this.
Font
;
4730
rectInvalid.Inflate(1, this.
Font
.Height + 1);
5126
textWidth = Size.Ceiling(g.MeasureString(text, this.
Font
)).Width;
winforms\Managed\System\WinForms\ListViewItem.cs (2)
445
return listView.
Font
;
1543
return owner.listView.
Font
;
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
1473
using (WindowsFont font = WindowsFont.FromFont(this.
Font
))
winforms\Managed\System\WinForms\NumericUpDown.cs (3)
855
int textWidth = TextRenderer.MeasureText(GetNumberText(testNumber), this.
Font
).Width;
865
int shortTextWidth = TextRenderer.MeasureText(shortText, this.
Font
).Width;
888
Size digitSize = TextRenderer.MeasureText(ch.ToString(), this.
Font
);
winforms\Managed\System\WinForms\PictureBox.cs (1)
352
return base.
Font
;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
554
pevent.Graphics.DrawString(SR.GetString(SR.PrintPreviewExceptionPrinting),
Font
, brush, ClientRectangle, format);
557
pevent.Graphics.DrawString(SR.GetString(SR.PrintPreviewNoPages),
Font
, brush, ClientRectangle, format);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1099
return base.
Font
;
winforms\Managed\System\WinForms\ProgressBar.cs (1)
282
return base.
Font
;
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (4)
91
SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText( this.ownerGrid, g, m_labelTitle.Text,
Font
, width);
123
lineHeight = (int)
Font
.Height + LogicalToDeviceUnits(2);
229
m_labelTitle.Font = new Font(
Font
, FontStyle.Bold);
234
lineHeight = (int)
Font
.Height + 2;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
322
SizeF sizef = PropertyGrid.MeasureTextHelper.MeasureText( this.ownerGrid, g, detailsBtn.Text, detailsBtn.
Font
);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
39
this.Font = controls[0].
Font
;
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
97
int lineHeight = (int)(1.5 *
Font
.Height);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
540
cachedRowHeight = (int)
Font
.Height + 2;
762
toolTip.Font = this.
Font
;
1255
SizeF sizeF = PropertyGrid.MeasureTextHelper.MeasureText(this.ownerGrid, g, gridEntry.PropertyLabel,
Font
);
1456
return
Font
;
1461
fontBold = new Font(this.
Font
, FontStyle.Bold);
3679
ToolTip.Font = this.
Font
;
3700
ToolTip.Font = this.
Font
;
3871
IntPtr hFont =
Font
.ToHfont();
3876
hFont = SafeNativeMethods.SelectObject(new HandleRef(DropDownListBox, hdc), new HandleRef(
Font
, hFont));
3895
hFont = SafeNativeMethods.SelectObject(new HandleRef(DropDownListBox, hdc), new HandleRef(
Font
, hFont));
3898
SafeNativeMethods.DeleteObject(new HandleRef(
Font
, hFont));
4462
Edit.Font =
Font
;
5952
this.Font = gridView.
Font
;
6721
ClientRectangle.Width <= psheet.SelectedGridEntry.GetValueTextWidth(this.Text, g, this.
Font
)) {
winforms\Managed\System\WinForms\RadioButton.cs (1)
321
Size textSize = TextRenderer.MeasureText(this.Text, this.
Font
);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
521
return base.
Font
;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
261
return base.
Font
;
winforms\Managed\System\WinForms\Splitter.cs (1)
217
return base.
Font
;
winforms\Managed\System\WinForms\StatusBar.cs (1)
300
get { return base.
Font
;}
winforms\Managed\System\WinForms\TabControl.cs (1)
2058
OnDrawItem(new DrawItemEventArgs(g,
Font
, Rectangle.FromLTRB(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom), dis.itemID, (DrawItemState)dis.itemState));
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
987
Size textSize = TextRenderer.MeasureText(this.Text, this.
Font
, proposedConstraints, format);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
239
textSize = Size.Ceiling(TextRenderer.MeasureText(messageText,
Font
, textSize, TextFormatFlags.WordBreak));
243
textSize = Size.Ceiling(g.MeasureString(messageText,
Font
, textSize.Width));
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
486
Size textSize = Size.Ceiling(g.MeasureString(Text, parent.
Font
));
winforms\Managed\System\WinForms\ToolStrip.cs (1)
631
return base.
Font
;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
225
return Control.
Font
;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
698
get { return base.
Font
; }
winforms\Managed\System\WinForms\TrackBar.cs (1)
274
return base.
Font
;
winforms\Managed\System\WinForms\TreeView.cs (2)
2826
Size textSize = TextRenderer.MeasureText(node.Text, node.TreeView.
Font
);
2837
Font font = (node.NodeFont != null) ? node.NodeFont : node.TreeView.
Font
;
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (2)
40
lblMachineAccess.Font = lblPublisher.Font = lblInstallation.Font = lblLocation.Font = new Font(lblMachineAccess.
Font
, FontStyle.Bold);
439
this.lblPublisher.Font = new Font(this.
Font
, FontStyle.Bold);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
845
this.lblName.Font = new Font(this.
Font
, FontStyle.Bold);
850
this.linkLblName.MaximumSize = new Size(0, this.
Font
.Height + 2);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1399
return base.
Font
;
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
1438
return base.
Font
;
System.Workflow.Activities (3)
Rules\Design\Dialogs\IntellisenseTextBox.cs (3)
426
clientPoint.Y += (int)Math.Ceiling(this.
Font
.GetHeight()) + 2;
430
clientPoint.Y += (int)Math.Ceiling(this.
Font
.GetHeight());
499
clientPoint.Y += (int)Math.Ceiling(this.
Font
.GetHeight()) + 2;
System.Workflow.ComponentModel (12)
AuthoringOM\Design\DesignerWidgets.cs (7)
1271
ActivityDesignerPaint.DrawText(graphics,
Font
, descriptionString, textRectangle, StringAlignment.Near, TextQuality.Aliased, SystemBrushes.ControlText);
1341
SizeF size = paletteGraphics.MeasureString(itemInfo.Text,
Font
);
1702
Font = new Font(
Font
.FontFamily, this.reqTabItemSize * 2 / 3, GraphicsUnit.Pixel);
1928
e.Graphics.DrawString(tabItem.Text,
Font
, SystemBrushes.ControlText, tabTextRectangleF, stringFormat);
1937
graphics.DrawString(this.tabItemList[tabItemIndex].Text,
Font
, SystemBrushes.ControlText, new Rectangle(0, 0, bitmap.Width, bitmap.Height), stringFormat);
1977
SizeF sizef = graphics.MeasureString(itemInfo.Text,
Font
);
2166
SizeF textSize = graphics.MeasureString(SR.GetString(SR.ToolTipString), this.parentControl.
Font
);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
821
this.artifactLabel.Font = new Font(this.
Font
.Name, this.
Font
.SizeInPoints, FontStyle.Bold);
AuthoringOM\Design\DocumentOutline.cs (1)
70
this.treeView.Font = this.
Font
;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
674
Rectangle descriptionRectangle = (description.Length > 0) ? new Rectangle(Point.Empty, new Size(AmbientTheme.DragImageTextSize.Width, parentView.
Font
.Height + 2)) : Rectangle.Empty;
695
draggedImageGraphics.DrawString(description, parentView.
Font
, SystemBrushes.WindowText, descriptionRectangle, stringFormat);
System.WorkflowServices (2)
System\Workflow\Activities\Design\EditableLabelControl.cs (1)
34
return base.
Font
;
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
508
this.Font = new Font(this.
Font
, FontStyle.Italic);