8 references to GenericFontFamilies
System.Drawing (1)
System.Drawing.cs (1)
160
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Text.
GenericFontFamilies
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
398
public FontFamily(System.Drawing.Text.
GenericFontFamilies
genericFamily) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (6)
System\Drawing\FontFamilyTests.cs (6)
12
[InlineData(
GenericFontFamilies
.Serif - 1, "Courier New")] // Value is outside the enum range.
13
[InlineData(
GenericFontFamilies
.Monospace + 1, "Courier New")] // Value is outside the enum range.
14
[InlineData(
GenericFontFamilies
.Monospace, "Courier New")]
15
[InlineData(
GenericFontFamilies
.SansSerif, "Microsoft Sans Serif")]
16
[InlineData(
GenericFontFamilies
.Serif, "Times New Roman")]
17
public void Ctor_GenericFamily(
GenericFontFamilies
genericFamily, string expectedName)