15 references to FontFamily
System.Drawing.Common (8)
System\Drawing\Font.cs (7)
82
public string Name =>
FontFamily
.Name;
244
return font.
FontFamily
.Equals(
FontFamily
)
261
$"[{GetType().Name}: Name={
FontFamily
.Name}, Size={_fontSize}, Units={(int)_fontUnit}, GdiCharSet={_gdiCharSet}, GdiVerticalFont={_gdiVerticalFont}]";
368
Initialize(prototype.
FontFamily
, prototype.Size, newStyle, prototype.Unit, (byte)FONT_CHARSET.DEFAULT_CHARSET, false);
748
float emHeightInPixels = lineSpacingInPixels *
FontFamily
.GetEmHeight(Style) /
FontFamily
.GetLineSpacing(Style);
System\Drawing\SystemFonts.cs (1)
264
return new Font(font.
FontFamily
, font.SizeInPoints, font.Style, GraphicsUnit.Point, font.GdiCharSet, font.GdiVerticalFont);
System.Windows.Forms (4)
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
144
result = new Font(result.
FontFamily
, MinSize, result.Style, GraphicsUnit.Point);
149
result = new Font(result.
FontFamily
, MaxSize, result.Style, GraphicsUnit.Point);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2123
font.
FontFamily
,
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
68
string familyName = font.
FontFamily
.Name;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2274
Control.Font.
FontFamily
,
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FontExtensions.cs (1)
23
templateFont.
FontFamily
,
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
134
adapter.SetValue(SWC.Control.FontFamilyProperty, Convert.ToSystemWindowsFontFamily(wfFont.
FontFamily
));