64 instantiations of Font
System.Drawing (11)
commonui\System\Drawing\Advanced\Font.cs (3)
476
return new
Font
(font, Marshal.ReadByte(lf, LogFontCharSetOffset), gdiVerticalFont);
499
return new
Font
(font, 0, false);
518
Font newCloneFont = new
Font
(cloneFont, this.gdiCharSet, this.gdiVerticalFont);
commonui\System\Drawing\FontConverter.cs (2)
187
return new
Font
(name, size, style, units);
391
return new
Font
( (string) name,
commonui\System\Drawing\SystemFonts.cs (6)
316
defaultFont = new
Font
("MS UI Gothic", 9);
338
defaultFont = new
Font
("Tahoma", 8);
385
defaultFont = new
Font
("Tahoma", 8);
395
defaultFont = new
Font
(FontFamily.GenericSansSerif, 8);
428
dialogFont = new
Font
("MS Shell Dlg 2", 8);
453
return new
Font
(font.FontFamily, font.SizeInPoints, font.Style, GraphicsUnit.Point, font.GdiCharSet, font.GdiVerticalFont);
System.Web.DataVisualization (6)
Common\General\Chart.cs (4)
4182
this._fontCache.Add(key, new
Font
(familyName, size));
4199
this._fontCache.Add(key, new
Font
(familyName, size, style));
4216
this._fontCache.Add(key, new
Font
(family, size, style));
4234
this._fontCache.Add(key, new
Font
(family, size, style, unit));
Common\General\LegendColumns.cs (1)
1684
cellFont = new
Font
(
Common\Utilities\XmlSerializer.cs (1)
587
Font newFont = new
Font
(
System.Web.Entity.Design (1)
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\Util\ImageCreator.cs (2)
72
Font normalFont = new
Font
(_fontFamily, 8, FontStyle.Regular),
73
boldFont = new
Font
(normalFont.FontFamily, 8, FontStyle.Bold)
System.Windows.Forms (27)
winforms\Managed\System\WinForms\AxHost.cs (2)
4950
f = new
Font
(f.Name, f.SizeInPoints, f.Style, GraphicsUnit.Point, f.GdiCharSet, f.GdiVerticalFont);
5013
f = new
Font
(oleFont.Name, (float)oleFont.Size/(float)10000, style, GraphicsUnit.Point, (byte)oleFont.Charset);
winforms\Managed\System\WinForms\Control.cs (3)
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);
13433
this.Font = new
Font
(local.FontFamily, local.Size * factor, local.Style, local.Unit, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
2031
return new
Font
(font.FontFamily, font.SizeInPoints, font.Style, GraphicsUnit.Point, font.GdiCharSet, font.GdiVerticalFont);
winforms\Managed\System\WinForms\DataGrid.cs (1)
8501
linkFont = new
Font
(Font, FontStyle.Underline);
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
90
this.dataGridFont = new
Font
(dataGrid.Font, FontStyle.Bold);
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
578
textFont = new
Font
(font, FontStyle.Bold);
991
textFont = new
Font
(font, FontStyle.Bold);
winforms\Managed\System\WinForms\FontDialog.cs (2)
233
result = new
Font
(result.FontFamily, MinSize, result.Style, GraphicsUnit.Point);
235
result = new
Font
(result.FontFamily, MaxSize, result.Style, GraphicsUnit.Point);
winforms\Managed\System\WinForms\Form.cs (2)
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\LinkLabel.cs (1)
650
Font alwaysUnderlined = new
Font
(Font, Font.Style | FontStyle.Underline);
winforms\Managed\System\WinForms\LinkUtilities.cs (3)
204
hoverLinkFont = new
Font
(f, style);
216
hoverLinkFont = new
Font
(f, hoverStyle);
226
linkFont = new
Font
(f, linkStyle);
winforms\Managed\System\WinForms\ListView.cs (2)
2515
odCacheFont = new
Font
(odCacheFont, FontStyle.Bold);
2722
subItemFont = new
Font
(item.SubItems[0].Font, FontStyle.Underline);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
229
m_labelTitle.Font = new
Font
(Font, FontStyle.Bold);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1461
fontBold = new
Font
(this.Font, FontStyle.Bold);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2310
return new
Font
(fontName, fontSize, style, GraphicsUnit.Point, cf.bCharSet);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
754
childItem.Font = new
Font
(local.FontFamily, local.Size * factor, local.Style,
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 (1)
845
this.lblName.Font = new
Font
(this.Font, FontStyle.Bold);
System.Windows.Forms.DataVisualization (6)
Common\General\Chart.cs (4)
4182
this._fontCache.Add(key, new
Font
(familyName, size));
4199
this._fontCache.Add(key, new
Font
(familyName, size, style));
4216
this._fontCache.Add(key, new
Font
(family, size, style));
4234
this._fontCache.Add(key, new
Font
(family, size, style, unit));
Common\General\LegendColumns.cs (1)
1684
cellFont = new
Font
(
Common\Utilities\XmlSerializer.cs (1)
587
Font newFont = new
Font
(
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
609
using (Font font = new
Font
(designerTheme.Font, FontStyle.Underline | designerTheme.Font.Style))
System.Workflow.ComponentModel (9)
AuthoringOM\Design\DesignerWidgets.cs (1)
1702
Font = new
Font
(Font.FontFamily, this.reqTabItemSize * 2 / 3, GraphicsUnit.Pixel);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
821
this.artifactLabel.Font = new
Font
(this.Font.Name, this.Font.SizeInPoints, FontStyle.Bold);
1218
using (Font helpFontBold = new
Font
(this.Font.FontFamily, this.Font.SizeInPoints, FontStyle.Bold))
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (2)
195
using (Font font = new
Font
(e.DesignerTheme.Font.FontFamily, e.DesignerTheme.Font.SizeInPoints + 1.0f, FontStyle.Bold))
212
using (Font font = new
Font
(e.DesignerTheme.Font.FontFamily, e.DesignerTheme.Font.SizeInPoints + 1.0f, (this.AssociatedDesigner.SmartTagVisible) ? FontStyle.Bold : FontStyle.Regular))
AuthoringOM\Design\Themes.cs (3)
2215
Font font = new
Font
(value, FontSize);
3074
this.font = new
Font
(this.fontName, FontSize);
3097
this.boldFont = new
Font
(this.fontName, FontSize, FontStyle.Bold);
AuthoringOM\Design\WorkflowLayouts.cs (1)
599
using (Font headerFooterFont = new
Font
(ambientTheme.Font.FontFamily, ambientTheme.Font.Size / this.scaling, ambientTheme.Font.Style))
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
508
this.Font = new
Font
(this.Font, FontStyle.Italic);
642 references to Font
System.Drawing (96)
commonui\System\Drawing\Advanced\Font.cs (47)
143
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class from
144
/// the specified existing <see cref='System.Drawing.
Font
'/> and <see cref='System.Drawing.FontStyle'/>.
149
public Font(
Font
prototype, FontStyle newStyle)
158
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
169
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
180
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
191
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
203
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
218
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
229
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
240
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
251
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
263
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
276
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
287
/// Initializes a new instance of the <see cref='System.Drawing.
Font
'/> class with
398
/// Creates a <see cref='System.Drawing.
Font
'/> from the specified Windows
403
public static
Font
FromHfont(IntPtr hfont) {
409
Font
result;
412
result =
Font
.FromLogFont(lf, screenDC);
428
public static
Font
FromLogFont(object lf) {
430
Font
result;
432
result =
Font
.FromLogFont(lf, screenDC);
447
public static
Font
FromLogFont(object lf, IntPtr hdc) {
486
public static
Font
FromHdc(IntPtr hdc) {
505
/// Creates an exact copy of this <see cref='System.Drawing.
Font
'/>.
518
Font
newCloneFont = new Font(cloneFont, this.gdiCharSet, this.gdiVerticalFont);
539
/// Gets the <see cref='System.Drawing.FontFamily'/> of this <see cref='System.Drawing.
Font
'/>.
567
/// Cleans up Windows resources for this <see cref='System.Drawing.
Font
'/>.
576
/// Cleans up Windows resources for this <see cref='System.Drawing.
Font
'/>.
616
/// Gets a value indicating whether this <see cref='System.Drawing.
Font
'/> is bold.
662
/// Gets a value indicating whether this <see cref='System.Drawing.
Font
'/> is Italic.
675
/// Gets the face name of this <see cref='System.Drawing.
Font
'/> .
700
/// Gets a value indicating whether this <see cref='System.Drawing.
Font
'/> is strikeout (has a line
714
/// Gets a value indicating whether this <see cref='System.Drawing.
Font
'/> is underlined.
727
/// specified object is a <see cref='System.Drawing.
Font
'/> equivalent to this <see cref='System.Drawing.
Font
'/>.
736
Font
font = obj as
Font
;
760
/// Gets the hash code for this <see cref='System.Drawing.
Font
'/>.
779
/// representation of this <see cref='System.Drawing.
Font
'/>.
880
/// Returns a handle to this <see cref='System.Drawing.
Font
'/>.
965
/// Gets style information for this <see cref='System.Drawing.
Font
'/>.
979
/// Gets the size of this <see cref='System.Drawing.
Font
'/>.
989
/// Gets the size, in points, of this <see cref='System.Drawing.
Font
'/>.
1023
/// Gets the unit of measure for this <see cref='System.Drawing.
Font
'/>.
1034
/// Gets the height of this <see cref='System.Drawing.
Font
'/>.
1047
/// Returns true if this <see cref='System.Drawing.
Font
'/> is a SystemFont.
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
24
/// Encapsulates a collection of <see cref='System.Drawing.
Font
'/> objecs.
commonui\System\Drawing\FontConverter.cs (7)
212
Font
font = value as
Font
;
248
if (destinationType == typeof(InstanceDescriptor) && value is
Font
) {
250
Font
font = (
Font
)value;
294
MemberInfo ctor = typeof(
Font
).GetConstructor(types);
436
PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(
Font
), attributes);
commonui\System\Drawing\Graphics.cs (14)
2455
public void DrawString(String s,
Font
font, Brush brush, float x, float y) {
2462
public void DrawString(String s,
Font
font, Brush brush, PointF point) {
2469
public void DrawString(String s,
Font
font, Brush brush, float x, float y, StringFormat format) {
2476
public void DrawString(String s,
Font
font, Brush brush, PointF point, StringFormat format) {
2483
public void DrawString(String s,
Font
font, Brush brush, RectangleF layoutRectangle) {
2490
public void DrawString(String s,
Font
font, Brush brush,
2513
public SizeF MeasureString(String text,
Font
font, SizeF layoutArea, StringFormat stringFormat,
2541
public SizeF MeasureString(String text,
Font
font, PointF origin, StringFormat stringFormat) {
2572
public SizeF MeasureString(String text,
Font
font, SizeF layoutArea) {
2579
public SizeF MeasureString(String text,
Font
font, SizeF layoutArea, StringFormat stringFormat) {
2608
public SizeF MeasureString(String text,
Font
font) {
2615
public SizeF MeasureString(String text,
Font
font, int width) {
2622
public SizeF MeasureString(String text,
Font
font, int width, StringFormat format) {
2631
public Region[] MeasureCharacterRanges(String text,
Font
font, RectangleF layoutRect,
commonui\System\Drawing\SystemFonts.cs (27)
34
public static
Font
CaptionFont {
36
Font
captionFont = null;
46
captionFont =
Font
.FromLogFont(data.lfCaptionFont);
76
public static
Font
SmallCaptionFont {
78
Font
smcaptionFont = null;
88
smcaptionFont =
Font
.FromLogFont(data.lfSmCaptionFont);
117
public static
Font
MenuFont {
119
Font
menuFont = null;
129
menuFont =
Font
.FromLogFont(data.lfMenuFont);
158
public static
Font
StatusFont {
160
Font
statusFont = null;
170
statusFont =
Font
.FromLogFont(data.lfStatusFont);
199
public static
Font
MessageBoxFont {
201
Font
messageboxFont = null;
211
messageboxFont =
Font
.FromLogFont(data.lfMessageFont);
254
public static
Font
IconTitleFont {
256
Font
icontitleFont = null;
266
icontitleFont =
Font
.FromLogFont(itfont);
303
public static
Font
DefaultFont {
305
Font
defaultFont = null;
357
Font
fontInWorldUnits = null;
364
fontInWorldUnits =
Font
.FromHfont(handle);
415
public static
Font
DialogFont {
417
Font
dialogFont = null;
452
private static
Font
FontInPoints(
Font
font) {
461
public static
Font
GetFontByName(string systemFontName) {
System.Web.DataVisualization (104)
Common\Annotation\AnnotationBase.cs (3)
194
private
Font
_textFont;
920
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
923
virtual public
Font
Font
Common\Annotation\GroupAnnotation.cs (2)
337
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
341
override public
Font
Font
Common\Annotation\ImageAnnotation.cs (2)
332
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
334
override public
Font
Font
Common\Annotation\LineAnnotation.cs (2)
257
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
259
override public
Font
Font
Common\Annotation\PolygonAnnotation.cs (2)
256
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
258
override public
Font
Font
Common\Annotation\TextAnnotation.cs (2)
167
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
170
override public
Font
Font
Common\DataManager\DataPoint.cs (3)
4084
public
Font
Font
4092
Font
font = GetAttributeObject(CommonCustomProperties.Font) as
Font
;
Common\DataManager\DataSeries.cs (1)
365
internal
Font
font = null;
Common\General\Axis.cs (4)
162
private
Font
_titleFont;
195
internal
Font
autoLabelFont = null;
1049
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
1056
public
Font
TitleFont
Common\General\Chart.cs (9)
4145
private Dictionary<KeyInfo,
Font
> _fontCache = new Dictionary<KeyInfo,
Font
>(new KeyInfo.EqualityComparer());
4154
public
Font
DefaultFont
4163
public
Font
DefaultBoldFont
4177
public
Font
GetFont(string familyName, int size)
4194
public
Font
GetFont(string familyName, float size, FontStyle style)
4211
public
Font
GetFont(FontFamily family, float size, FontStyle style)
4229
public
Font
GetFont(FontFamily family, float size, FontStyle style, GraphicsUnit unit)
4248
foreach (
Font
font in _fontCache.Values)
Common\General\ChartGraphics.cs (16)
1153
Font
font,
1183
Font
font,
1210
Font
font,
1240
System.Drawing.
Font
font,
1271
System.Drawing.
Font
font,
1331
System.Drawing.
Font
font,
1408
System.Drawing.
Font
font,
1643
System.Drawing.
Font
font,
1670
System.Drawing.
Font
font,
1767
System.Drawing.
Font
font,
2635
internal SizeF MeasureStringRel( string text,
Font
font )
2656
internal SizeF MeasureStringRel( string text,
Font
font, SizeF layoutArea, StringFormat stringFormat )
2677
internal Size MeasureStringAbs( string text,
Font
font )
2694
internal Size MeasureStringAbs( string text,
Font
font, SizeF layoutArea, StringFormat stringFormat )
2711
internal void DrawStringRel( string text,
Font
font, Brush brush, RectangleF layoutRectangle, StringFormat format )
2754
Font
font,
Common\General\ChartRenderingEngine.cs (4)
319
Font
font,
345
Font
font,
667
Font
font,
684
Font
font
Common\General\GdiGraphics.cs (4)
223
Font
font,
242
Font
font,
522
Font
font,
539
Font
font
Common\General\IChartRenderingEngine.cs (4)
174
Font
font,
190
Font
font,
422
Font
font,
436
Font
font
Common\General\Label.cs (3)
1084
private
Font
_font;
2735
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
2741
public
Font
Font
Common\General\Legend.cs (7)
259
private
Font
_font = null;
281
internal
Font
autofitFont = null;
322
private
Font
_titleFont = null;
3436
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
3443
public
Font
Font
3866
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt, style=Bold"),
3869
public
Font
TitleFont
Common\General\LegendColumns.cs (15)
143
private
Font
_font = null;
180
private
Font
_headerFont = null;
373
public virtual
Font
Font
652
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt, style=Bold"),
655
public virtual
Font
HeaderFont
835
private
Font
_font = null;
1115
public virtual
Font
Font
1482
Font
legendAutoFont,
1495
Font
cellFont = this.GetCellFont(legendAutoFont, fontSizeReducedBy, out disposeFont);
1633
private
Font
GetCellFont(
Font
legendAutoFont, int fontSizeReducedBy, out bool disposeFont)
1635
Font
cellFont = this.Font;
1911
Font
legendAutoFont,
2001
Font
legendAutoFont)
2005
Font
cellFont = this.GetCellFont(legendAutoFont, fontSizeReducedBy, out disposeFont);
Common\General\StripLine.cs (3)
157
private
Font
_font = null;
1454
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
1461
public
Font
Font
Common\General\Title.cs (6)
230
private
Font
_font;
290
public Title(string text, Docking docking,
Font
font, Color color)
302
private void Initialize(string text, Docking docking,
Font
font, Color color)
951
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
958
public
Font
Font
1713
Font
font,
Common\Utilities\XmlSerializer.cs (12)
521
internal static string FontToString(
Font
font)
544
internal static
Font
FontFromString(string fontString)
582
Font
font = (
Font
)SerializerBase.fontConverter.ConvertFromInvariantString(standardData);
587
Font
newFont = new Font(
893
pi.PropertyType == typeof(
Font
) ||
1764
Font
font = obj as
Font
;
2161
else if(pi.PropertyType == typeof(
Font
))
2703
else if(obj is
Font
)
2706
writer.Write(SerializerBase.FontToString((
Font
)obj));
3115
else if(pi.PropertyType == typeof(
Font
))
System.Web.Entity.Design (3)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
73
Font
dialogFont = UIHelper.GetDialogFont(ServiceProvider);
System\Data\WebControls\Design\Util\UIHelper.cs (2)
21
internal static
Font
GetDialogFont(IServiceProvider serviceProvider)
31
return (
Font
)uiStyles["DialogFont"];
System.Web.Mobile (7)
UI\MobileControls\Design\DesignerForm.cs (2)
57
Font
dialogFont = (
Font
)uiStyles["DialogFont"];
UI\MobileControls\Design\Util\GenericUI.cs (3)
58
internal static
Font
GetVS7Font(ISite site)
60
System.Drawing.
Font
vsfont = Control.DefaultFont;
68
vsfont = (
Font
) uiService.Styles["DialogFont"];
UI\MobileControls\Design\Util\ImageCreator.cs (2)
27
Font
font,
72
Font
normalFont = new Font(_fontFamily, 8, FontStyle.Regular),
System.Windows.Forms (289)
misc\GDI\WindowsFont.cs (2)
222
public static WindowsFont FromFont(
Font
font)
228
public static WindowsFont FromFont(
Font
font, WindowsFontQuality fontQuality)
misc\GDI\WindowsGraphicsCacheManager.cs (7)
53
private static List<KeyValuePair<
Font
, WindowsFont>> windowsFontCache;
79
private static List<KeyValuePair<
Font
, WindowsFont>> WindowsFontCache
86
windowsFontCache = new List<KeyValuePair<
Font
, WindowsFont>>(CacheSize);
134
public static WindowsFont GetWindowsFont(
Font
font)
142
public static WindowsFont GetWindowsFont(
Font
font, WindowsFontQuality fontQuality)
183
KeyValuePair<
Font
, WindowsFont> newEntry = new KeyValuePair<
Font
, WindowsFont>(font, winFont);
winforms\Managed\System\WinForms\AmbientProperties.cs (2)
34
private
Font
font;
72
public
Font
Font {
winforms\Managed\System\WinForms\AxHost.cs (9)
503
public override
Font
Font {
4868
private static NativeMethods.FONTDESC GetFONTDESCFromFont(
Font
font) {
4921
protected static object GetIFontFromFont(
Font
font) {
4942
protected static
Font
GetFontFromIFont(object font) {
4947
Font
f =
Font
.FromHfont(oleFont.GetHFont());
4966
protected static object GetIFontDispFromFont(
Font
font) {
4981
protected static
Font
GetFontFromIFontDisp(object font) {
4996
Font
f = null;
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
881
internal
Font
font;
1507
internal static LayoutOptions CommonLayout(Rectangle clientRectangle, Padding padding, bool isDefault,
Font
font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (1)
288
bool isDefault,
Font
font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl)
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
160
bool isDefault,
Font
font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
118
bool isDefault,
Font
font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl,
winforms\Managed\System\WinForms\ButtonRenderer.cs (4)
149
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText,
Font
font, bool focused, PushButtonState state) {
162
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText,
Font
font, TextFormatFlags flags, bool focused, PushButtonState state) {
219
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText,
Font
font, Image image, Rectangle imageBounds, bool focused, PushButtonState state) {
231
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText,
Font
font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, PushButtonState state) {
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (5)
128
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText,
Font
font, bool focused, CheckBoxState state) {
140
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText,
Font
font, TextFormatFlags flags, bool focused, CheckBoxState state) {
144
internal static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText,
Font
font, TextFormatFlags flags, bool focused, CheckBoxState state, IntPtr hWnd) {
178
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText,
Font
font, Image image, Rectangle imageBounds, bool focused, CheckBoxState state) {
190
public static void DrawCheckBox(Graphics g, Point glyphLocation, Rectangle textBounds, string checkBoxText,
Font
font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, CheckBoxState state) {
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
740
Font
font = Font;
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (4)
88
public static void DrawTextBox(Graphics g, Rectangle bounds, string comboBoxText,
Font
font, ComboBoxState state) {
98
public static void DrawTextBox(Graphics g, Rectangle bounds, string comboBoxText,
Font
font, Rectangle textBounds, ComboBoxState state) {
108
public static void DrawTextBox(Graphics g, Rectangle bounds, string comboBoxText,
Font
font, TextFormatFlags flags, ComboBoxState state) {
130
public static void DrawTextBox(Graphics g, Rectangle bounds, string comboBoxText,
Font
font, Rectangle textBounds, TextFormatFlags flags, ComboBoxState state) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2FontConverter.cs (5)
26
private
Font
lastFont = null;
40
return typeof(
Font
);
74
Font
font =
Font
.FromHfont(lastHandle);
113
lastFont = (
Font
)managedValue;
winforms\Managed\System\WinForms\Control.cs (38)
331
private static
Font
defaultFont;
797
private
Font
ActiveXAmbientFont {
2166
public static
Font
DefaultFont {
2495
public virtual
Font
Font {
2500
Font
font = (
Font
)Properties.GetObject(PropFont);
2505
Font
f = GetParentFont();
2526
Font
local = (
Font
)Properties.GetObject(PropFont);
2527
Font
resolved = Font;
2581
Font
local = (
Font
)Properties.GetObject(PropFont);
2582
Font
resolved = Font;
2583
Font
newFont = DpiHelper.EnableDpiChangedHighDpiImprovements ?
2616
Font
font = (
Font
)Properties.GetObject(PropFont);
2639
Font
currentAmbient = (
Font
)Properties.GetObject(PropCurrentAmbientFont);
2674
Font
font = (
Font
)Properties.GetObject(PropFont);
2766
private
Font
GetParentFont() {
3837
Font
oldFont = null;
5476
Font
oldFont = Font;
7544
Font
font = (
Font
)Properties.GetObject(PropFont);
13430
Font
local = (
Font
)Properties.GetObject(PropFont);
16362
internal
Font
AmbientFont {
16379
Font
font = null;
16382
font =
Font
.FromHfont(hfont);
16400
return(
Font
)prop.Value;
17636
Font
font =
Font
.FromHfont(hfont);
18946
Font
font = (
Font
)obj;
18998
Font
font = null;
19002
font =
Font
.FromHfont(hfont);
19987
internal FontHandleWrapper(
Font
font) {
winforms\Managed\System\WinForms\ControlPaint.cs (5)
1927
public static void DrawStringDisabled(Graphics graphics, string s,
Font
font,
1956
public static void DrawStringDisabled(IDeviceContext dc, string s,
Font
font,
2030
internal static
Font
FontInPoints(
Font
font) {
2035
internal static bool FontToIFont(
Font
source, UnsafeNativeMethods.IFont target) {
winforms\Managed\System\WinForms\DataGrid.cs (6)
106
private
Font
headerFont = null; // this is ambient property to Font value
172
private
Font
linkFont = null;
800
public
Font
CaptionFont {
2125
public
Font
HeaderFont {
2438
internal
Font
LinkFont {
4766
Font
headerFont;
winforms\Managed\System\WinForms\DataGridCaption.cs (3)
49
private
Font
textFont = null;
54
private
Font
dataGridFont = null;
164
internal
Font
Font {
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
48
private
Font
font = null;
winforms\Managed\System\WinForms\DataGridParentRows.cs (7)
574
private int GetTableBoxWidth(Graphics g,
Font
font) {
576
Font
textFont = font;
597
private int GetColBoxWidth(Graphics g,
Font
font, int colNum) {
860
private int PaintRow(Graphics g, Rectangle bounds, int row,
Font
font, bool alignToRight,
905
private int PaintColumns(Graphics g, Rectangle bounds, DataGridState dgs,
Font
font, bool alignToRight,
987
private int PaintText(Graphics g, Rectangle textBounds, string text,
Font
font, bool bold, bool alignToRight) {
988
Font
textFont = font;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
719
Font
textFont = this.DataGrid.Font;
winforms\Managed\System\WinForms\DataGridTable.cs (3)
84
internal static readonly
Font
defaultFont = Control.DefaultFont;
97
internal
Font
headerFont = null; // this is ambient property to Font value.
655
public
Font
HeaderFont {
winforms\Managed\System\WinForms\DataGridView.cs (1)
3278
public override
Font
Font
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
2831
public static int MeasureTextHeight(Graphics graphics, string text,
Font
font, int maxWidth, TextFormatFlags flags)
2843
public static int MeasureTextHeight(Graphics graphics, string text,
Font
font, int maxWidth, TextFormatFlags flags, out bool widthTruncated)
2876
public static Size MeasureTextPreferredSize(Graphics graphics, string text,
Font
font, float maxRatio, TextFormatFlags flags)
2931
public static Size MeasureTextSize(Graphics graphics, string text,
Font
font, TextFormatFlags flags)
2957
public static int MeasureTextWidth(Graphics graphics, string text,
Font
font, int maxHeight, TextFormatFlags flags)
4697
internal static bool TextFitsInBounds(Graphics graphics, string text,
Font
font, Size maxBounds, TextFormatFlags flags)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (3)
213
public
Font
Font
217
return (
Font
) this.Properties.GetObject(PropFont);
221
Font
f = this.Font;
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
1054
Font
linkFont = null;
1055
Font
hoverFont = null;
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (1)
319
Font
font)
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
112
private
Font
calendarFont = null;
271
public
Font
CalendarFont {
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
212
Font
uiFont = Control.DefaultFont;
216
uiFont = (
Font
)uiService.Styles["DialogFont"];
winforms\Managed\System\WinForms\DrawItemEvent.cs (4)
41
private
Font
font;
75
public DrawItemEventArgs(Graphics graphics,
Font
font, Rectangle rect,
90
public DrawItemEventArgs(Graphics graphics,
Font
font, Rectangle rect,
128
public
Font
Font {
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (3)
33
private readonly
Font
font;
42
Color foreColor, Color backColor,
Font
font) {
142
public
Font
Font {
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
216
Font
font = (itemIndex == -1) ? item.Font : subItem.Font;
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (3)
33
private readonly
Font
font;
40
Color backColor, Color foreColor,
Font
font)
115
public
Font
Font
winforms\Managed\System\WinForms\FontDialog.cs (5)
47
private
Font
font;
223
public
Font
Font {
227
Font
result = font;
687
Font
fontInWorldUnits = null;
691
fontInWorldUnits =
Font
.FromLogFont(lf, screenDC);
winforms\Managed\System\WinForms\Form.cs (1)
4100
public static SizeF GetAutoScaleSize(
Font
font) {
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (14)
29
public static void DrawText(IDeviceContext dc, string text,
Font
font, Point pt, Color foreColor)
56
public static void DrawText(IDeviceContext dc, string text,
Font
font, Point pt, Color foreColor, Color backColor)
83
public static void DrawText(IDeviceContext dc, string text,
Font
font, Point pt, Color foreColor, TextFormatFlags flags)
101
public static void DrawText(IDeviceContext dc, string text,
Font
font, Point pt, Color foreColor, Color backColor, TextFormatFlags flags)
119
public static void DrawText(IDeviceContext dc, string text,
Font
font, Rectangle bounds, Color foreColor)
146
public static void DrawText(IDeviceContext dc, string text,
Font
font, Rectangle bounds, Color foreColor, Color backColor)
173
public static void DrawText(IDeviceContext dc, string text,
Font
font, Rectangle bounds, Color foreColor, TextFormatFlags flags)
191
public static void DrawText(IDeviceContext dc, string text,
Font
font, Rectangle bounds, Color foreColor, Color backColor, TextFormatFlags flags)
223
public static Size MeasureText(string text,
Font
font )
235
public static Size MeasureText(string text,
Font
font, Size proposedSize )
247
public static Size MeasureText(string text,
Font
font, Size proposedSize, TextFormatFlags flags )
258
public static Size MeasureText(IDeviceContext dc, string text,
Font
font)
287
public static Size MeasureText(IDeviceContext dc, string text,
Font
font, Size proposedSize )
317
public static Size MeasureText(IDeviceContext dc, string text,
Font
font, Size proposedSize, TextFormatFlags flags )
winforms\Managed\System\WinForms\GroupBox.cs (1)
43
Font
cachedFont;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (6)
111
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, GroupBoxState state) {
121
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, Color textColor, GroupBoxState state) {
131
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, TextFormatFlags flags, GroupBoxState state) {
144
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, Color textColor, TextFormatFlags flags, GroupBoxState state) {
164
private static void DrawThemedGroupBoxWithText(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, Color textColor, TextFormatFlags flags, GroupBoxState state) {
259
private static void DrawUnthemedGroupBoxWithText(Graphics g, Rectangle bounds, string groupBoxText,
Font
font, Color textColor, TextFormatFlags flags, GroupBoxState state) {
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (4)
53
public static Size OldGetLargestStringSizeInCollection(
Font
font, ICollection objects) {
551
public Size GetTextSize(string text,
Font
font, Size proposedConstraints, TextFormatFlags flags) {
612
private Size GetUnconstrainedSize(string text,
Font
font, TextFormatFlags flags) {
630
public bool TextRequiresWordBreak(string text,
Font
font, Size size, TextFormatFlags flags) {
winforms\Managed\System\WinForms\LinkLabel.cs (4)
62
Font
linkFont;
63
Font
hoverLinkFont;
650
Font
alwaysUnderlined = new Font(Font, Font.Style | FontStyle.Underline);
1383
Font
font = Font;
winforms\Managed\System\WinForms\LinkUtilities.cs (4)
164
public static void EnsureLinkFonts(
Font
baseFont, LinkBehavior link, ref
Font
linkFont, ref
Font
hoverLinkFont) {
191
Font
f = baseFont;
winforms\Managed\System\WinForms\ListBox.cs (1)
474
public override
Font
Font {
winforms\Managed\System\WinForms\ListItemConverter.cs (3)
104
typeof(
Font
)});
120
typeof(
Font
)});
211
typeof(
Font
)});
winforms\Managed\System\WinForms\ListView.cs (5)
128
private
Font
odCacheFont = null;
2711
Font
subItemFont = null;
5480
Font
font = GetListHeaderFont();
5773
private
Font
GetListHeaderFont(){
5777
return
Font
.FromHfont(hFont);
winforms\Managed\System\WinForms\ListViewItem.cs (12)
167
public ListViewItem(string[] items, int imageIndex, Color foreColor, Color backColor,
Font
font) : this(items, imageIndex) {
234
public ListViewItem(string[] items, int imageIndex, Color foreColor, Color backColor,
Font
font, ListViewGroup group) :
276
public ListViewItem(string[] items, string imageKey, Color foreColor, Color backColor,
Font
font) : this(items, imageKey) {
319
public ListViewItem(string[] items, string imageKey, Color foreColor, Color backColor,
Font
font, ListViewGroup group) :
441
public
Font
Font {
1279
Font = (
Font
)info.GetValue(entry.Name, typeof(
Font
));
1454
public ListViewSubItem(ListViewItem owner, string text, Color foreColor, Color backColor,
Font
font) {
1536
public
Font
Font {
1701
public
Font
font = null;
1850
public ListViewSubItem Add(string text, Color foreColor, Color backColor,
Font
font) {
1889
public void AddRange(string[] items, Color foreColor, Color backColor,
Font
font) {
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (3)
31
Font
font = null;
44
font = (
Font
) entry.Value;
64
public
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\PropertyGrid.cs (4)
5259
public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text,
Font
font ){
5263
public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text,
Font
font, int width ){
5267
public static SizeF MeasureTextSimple(PropertyGrid owner, Graphics g, string text,
Font
font, SizeF size ){
5279
public static SizeF MeasureText(PropertyGrid owner, Graphics g, string text,
Font
font, SizeF size ){
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
212
Font
font = GetFont(bold);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (7)
95
public
Font
lastLabelFont;
98
public
Font
lastValueFont;
1397
protected int GetLabelTextWidth(string labelText, Graphics g,
Font
f) {
1416
internal int GetValueTextWidth(string valueString, Graphics g,
Font
f) {
1812
protected
Font
GetFont(bool boldFont) {
1876
Font
font = GetFont(fBold);
2164
Font
f = GetFont(valueModified);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
96
private
Font
fontBold = null;
1455
public
Font
GetBaseFont() {
1459
public
Font
GetBoldFont() {
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (6)
121
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, bool focused, RadioButtonState state) {
133
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, TextFormatFlags flags, bool focused, RadioButtonState state) {
137
internal static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, TextFormatFlags flags, bool focused, RadioButtonState state, IntPtr hWnd) {
165
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, Image image, Rectangle imageBounds, bool focused, RadioButtonState state) {
179
public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, RadioButtonState state) {
183
internal static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText,
Font
font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, RadioButtonState state, IntPtr hWnd) {
winforms\Managed\System\WinForms\RichTextBox.cs (6)
519
public override
Font
Font {
533
Font
f = GetCharFormatFont(false);
1083
public
Font
SelectionFont {
2277
Font
GetCharFormatFont(bool selectionOnly) {
2882
private void SetCharFormatFont(bool selectionOnly,
Font
value) {
2938
static private void FontToLogFont(
Font
value, NativeMethods.LOGFONT logfont) {
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\StatusBarDrawItemEvent.cs (2)
32
public StatusBarDrawItemEventArgs(System.Drawing.Graphics g,
Font
font, Rectangle r, int itemId,
44
public StatusBarDrawItemEventArgs(System.Drawing.Graphics g,
Font
font, Rectangle r, int itemId,
winforms\Managed\System\WinForms\SystemInformation.cs (5)
359
public static
Font
MenuFont {
373
public static
Font
GetMenuFontForDpi(int dpi) {
377
private static
Font
GetMenuFontHelper(uint dpi, bool useDpi) {
378
Font
menuFont = null;
395
menuFont =
Font
.FromLogFont(data.lfMenuFont);
winforms\Managed\System\WinForms\TabRenderer.cs (5)
84
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText,
Font
font, TabItemState state) {
94
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText,
Font
font, bool focused, TabItemState state) {
106
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText,
Font
font, TextFormatFlags flags, bool focused, TabItemState state) {
149
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText,
Font
font, Image image, Rectangle imageRectangle, bool focused, TabItemState state) {
161
public static void DrawTabItem(Graphics g, Rectangle bounds, string tabItemText,
Font
font, TextFormatFlags flags, Image image, Rectangle imageRectangle, bool focused, TabItemState state) {
winforms\Managed\System\WinForms\TextBoxRenderer.cs (4)
80
public static void DrawTextBox(Graphics g, Rectangle bounds, string textBoxText,
Font
font, TextBoxState state) {
90
public static void DrawTextBox(Graphics g, Rectangle bounds, string textBoxText,
Font
font, Rectangle textBounds, TextBoxState state) {
100
public static void DrawTextBox(Graphics g, Rectangle bounds, string textBoxText,
Font
font, TextFormatFlags flags, TextBoxState state) {
116
public static void DrawTextBox(Graphics g, Rectangle bounds, string textBoxText,
Font
font, Rectangle textBounds, TextFormatFlags flags, TextBoxState state) {
winforms\Managed\System\WinForms\ToolStrip.cs (2)
95
private
Font
defaultFont = null;
628
public override
Font
Font {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
223
public override
Font
Font {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
481
public override
Font
Font {
810
Font
originalFont = this.Font;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
751
Font
local = childItem.Font;
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
178
internal
Font
defaultFont = ToolStripManager.DefaultFont;
1061
public virtual
Font
Font {
1063
Font
font = (
Font
)Properties.GetObject(PropFont);
1068
Font
f = GetOwnerFont();
1079
Font
local = (
Font
)Properties.GetObject(PropFont);
2691
private
Font
GetOwnerFont() {
3574
Font
f = this.Font;
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (4)
22
private
Font
textFont = null;
33
public ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, string text, Rectangle textRectangle, Color textColor,
Font
textFont, TextFormatFlags format) : base(g, item) {
49
public ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, string text, Rectangle textRectangle, Color textColor,
Font
textFont, ContentAlignment textAlign) : base(g, item) {
108
public
Font
TextFont {
winforms\Managed\System\WinForms\ToolStripLabel.cs (2)
33
private
Font
hoverLinkFont, linkFont;
317
Font
font = this.Font;
winforms\Managed\System\WinForms\ToolStripManager.cs (7)
35
private static
Font
defaultFont;
36
private static ConcurrentDictionary<int,
Font
> defaultFontCache = new ConcurrentDictionary<int,
Font
>();
63
internal static
Font
DefaultFont {
65
Font
sysFont = null;
71
Font
retFont = null;
90
Font
retFont = defaultFont; // threadsafe local reference
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
927
Font
textFont = e.TextFont;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
181
public override
Font
Font {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
697
public override
Font
Font {
winforms\Managed\System\WinForms\ToolTip.cs (2)
2617
Font
font;
2620
font =
Font
.FromHfont(UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.WM_GETFONT, 0, 0));
winforms\Managed\System\WinForms\TrackBar.cs (1)
272
public override
Font
Font {
winforms\Managed\System\WinForms\TreeNode.cs (2)
737
public
Font
NodeFont {
743
Font
oldfont = this.NodeFont;
winforms\Managed\System\WinForms\TreeView.cs (1)
2837
Font
font = (node.NodeFont != null) ? node.NodeFont : node.TreeView.Font;
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (3)
668
public
Font
GetFont(IDeviceContext dc, FontProperty prop)
687
Font
font = null;
698
font =
Font
.FromLogFont(logfont);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1397
public override
Font
Font {
System.Windows.Forms.DataVisualization (103)
Common\Annotation\AnnotationBase.cs (3)
194
private
Font
_textFont;
920
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
923
virtual public
Font
Font
Common\Annotation\GroupAnnotation.cs (2)
337
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
341
override public
Font
Font
Common\Annotation\ImageAnnotation.cs (2)
332
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
334
override public
Font
Font
Common\Annotation\LineAnnotation.cs (2)
257
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
259
override public
Font
Font
Common\Annotation\PolygonAnnotation.cs (2)
256
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
258
override public
Font
Font
Common\Annotation\TextAnnotation.cs (2)
167
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
170
override public
Font
Font
Common\DataManager\DataPoint.cs (3)
4084
public
Font
Font
4092
Font
font = GetAttributeObject(CommonCustomProperties.Font) as
Font
;
Common\DataManager\DataSeries.cs (1)
365
internal
Font
font = null;
Common\General\Axis.cs (4)
162
private
Font
_titleFont;
195
internal
Font
autoLabelFont = null;
1049
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
1056
public
Font
TitleFont
Common\General\Chart.cs (9)
4145
private Dictionary<KeyInfo,
Font
> _fontCache = new Dictionary<KeyInfo,
Font
>(new KeyInfo.EqualityComparer());
4154
public
Font
DefaultFont
4163
public
Font
DefaultBoldFont
4177
public
Font
GetFont(string familyName, int size)
4194
public
Font
GetFont(string familyName, float size, FontStyle style)
4211
public
Font
GetFont(FontFamily family, float size, FontStyle style)
4229
public
Font
GetFont(FontFamily family, float size, FontStyle style, GraphicsUnit unit)
4248
foreach (
Font
font in _fontCache.Values)
Common\General\ChartGraphics.cs (16)
1153
Font
font,
1183
Font
font,
1210
Font
font,
1240
System.Drawing.
Font
font,
1271
System.Drawing.
Font
font,
1331
System.Drawing.
Font
font,
1408
System.Drawing.
Font
font,
1643
System.Drawing.
Font
font,
1670
System.Drawing.
Font
font,
1767
System.Drawing.
Font
font,
2635
internal SizeF MeasureStringRel( string text,
Font
font )
2656
internal SizeF MeasureStringRel( string text,
Font
font, SizeF layoutArea, StringFormat stringFormat )
2677
internal Size MeasureStringAbs( string text,
Font
font )
2694
internal Size MeasureStringAbs( string text,
Font
font, SizeF layoutArea, StringFormat stringFormat )
2711
internal void DrawStringRel( string text,
Font
font, Brush brush, RectangleF layoutRectangle, StringFormat format )
2754
Font
font,
Common\General\ChartRenderingEngine.cs (4)
319
Font
font,
345
Font
font,
667
Font
font,
684
Font
font
Common\General\GdiGraphics.cs (4)
223
Font
font,
242
Font
font,
522
Font
font,
539
Font
font
Common\General\Label.cs (3)
1084
private
Font
_font;
2735
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
2741
public
Font
Font
Common\General\Legend.cs (7)
259
private
Font
_font = null;
281
internal
Font
autofitFont = null;
322
private
Font
_titleFont = null;
3436
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
3443
public
Font
Font
3866
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt, style=Bold"),
3869
public
Font
TitleFont
Common\General\LegendColumns.cs (15)
143
private
Font
_font = null;
180
private
Font
_headerFont = null;
373
public virtual
Font
Font
652
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt, style=Bold"),
655
public virtual
Font
HeaderFont
835
private
Font
_font = null;
1115
public virtual
Font
Font
1482
Font
legendAutoFont,
1495
Font
cellFont = this.GetCellFont(legendAutoFont, fontSizeReducedBy, out disposeFont);
1633
private
Font
GetCellFont(
Font
legendAutoFont, int fontSizeReducedBy, out bool disposeFont)
1635
Font
cellFont = this.Font;
1911
Font
legendAutoFont,
2001
Font
legendAutoFont)
2005
Font
cellFont = this.GetCellFont(legendAutoFont, fontSizeReducedBy, out disposeFont);
Common\General\StripLine.cs (3)
157
private
Font
_font = null;
1454
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
1461
public
Font
Font
Common\General\Title.cs (6)
230
private
Font
_font;
290
public Title(string text, Docking docking,
Font
font, Color color)
302
private void Initialize(string text, Docking docking,
Font
font, Color color)
951
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
958
public
Font
Font
1713
Font
font,
Common\Utilities\XmlSerializer.cs (12)
521
internal static string FontToString(
Font
font)
544
internal static
Font
FontFromString(string fontString)
582
Font
font = (
Font
)SerializerBase.fontConverter.ConvertFromInvariantString(standardData);
587
Font
newFont = new Font(
893
pi.PropertyType == typeof(
Font
) ||
1764
Font
font = obj as
Font
;
2161
else if(pi.PropertyType == typeof(
Font
))
2703
else if(obj is
Font
)
2706
writer.Write(SerializerBase.FontToString((
Font
)obj));
3115
else if(pi.PropertyType == typeof(
Font
))
WinForm\ChartWinControl.cs (3)
593
using (
Font
font = new Font(FontCache.DefaultFamilyName, 8))
1430
DefaultValue(typeof(
Font
), "Microsoft Sans Serif, 8pt"),
1434
public new
Font
Font
System.Workflow.Activities (11)
Designers\SetStateDesigner.cs (1)
154
Font
font = e.DesignerTheme.Font;
Designers\StateDesigner.Layouts.cs (6)
447
Font
font = designerTheme.Font;
473
Font
font = designerTheme.Font;
609
using (
Font
font = new Font(designerTheme.Font, FontStyle.Underline | designerTheme.Font.Style))
766
Font
font = designerTheme.BoldFont;
797
Font
font = designerTheme.BoldFont;
864
Font
font = designerTheme.Font;
Designers\StateMachineDesignerPaint.cs (1)
29
internal static Size MeasureString(Graphics graphics,
Font
font, string text, StringAlignment alignment, Size maxSize)
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 (26)
AuthoringOM\Design\ActivityDesigner.cs (1)
1676
Font
font = (SmartTagVisible) ? e.DesignerTheme.BoldFont : e.DesignerTheme.Font;
AuthoringOM\Design\DesignerHelpers.cs (2)
62
internal static Size MeasureString(Graphics graphics,
Font
font, string text, StringAlignment alignment, Size maxSize)
92
public static void DrawText(Graphics graphics,
Font
font, string text, Rectangle boundingRect, StringAlignment alignment, TextQuality textQuality, Brush textBrush)
AuthoringOM\Design\DesignerWidgets.cs (2)
947
private
Font
font = null;
987
public void SetFont(
Font
font)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
64
this.Font = (
Font
)uisvc.Styles["DialogFont"];
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (3)
342
private
Font
StandardFont
346
Font
font = SystemInformation.MenuFont;
351
font = (
Font
)uisvc.Styles["DialogFont"];
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
818
this.Font = (
Font
)uisvc.Styles["DialogFont"];
1218
using (
Font
helpFontBold = new Font(this.Font.FontFamily, this.Font.SizeInPoints, FontStyle.Bold))
AuthoringOM\Design\DocumentOutline.cs (1)
62
this.Font = (
Font
)uiService.Styles["DialogFont"];
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (2)
195
using (
Font
font = new Font(e.DesignerTheme.Font.FontFamily, e.DesignerTheme.Font.SizeInPoints + 1.0f, FontStyle.Bold))
212
using (
Font
font = new Font(e.DesignerTheme.Font.FontFamily, e.DesignerTheme.Font.SizeInPoints + 1.0f, (this.AssociatedDesigner.SmartTagVisible) ? FontStyle.Bold : FontStyle.Regular))
AuthoringOM\Design\Themes.cs (10)
157
private static
Font
defaultFont = null;
222
internal static
Font
GetDefaultFont()
227
WorkflowTheme.defaultFont = WorkflowTheme.UIService.Styles["DialogFont"] as
Font
;
1360
public
Font
Font
1370
public
Font
BoldFont
2013
private
Font
font;
2014
private
Font
boldFont;
2215
Font
font = new Font(value, FontSize);
3059
public
Font
Font
3082
public
Font
BoldFont
AuthoringOM\Design\WorkflowLayouts.cs (1)
599
using (
Font
headerFooterFont = new Font(ambientTheme.Font.FontFamily, ambientTheme.Font.Size / this.scaling, ambientTheme.Font.Style))
AuthoringOM\Design\WorkflowPrinting.cs (1)
381
internal
Font
Font;
System.WorkflowServices (3)
System\Workflow\Activities\Design\EditableLabelControl.cs (1)
30
public override
Font
Font
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
37
this.Font = (
Font
) uisvc.Styles["DialogFont"];
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
66
this.Font = (
Font
) uisvc.Styles["DialogFont"];