16 references to CaptionFont
System.Drawing.Common.Tests (2)
System\Drawing\SystemFontsTests.cs (2)
12
yield return new object[] { () => SystemFonts.
CaptionFont
};
130
new object[] { () => SystemFonts.
CaptionFont
, nameof(CaptionFont), CaptionFont},
System.Windows.Forms.Primitives.Tests (2)
Interop\User32\SystemParametersInfoWTests.cs (2)
19
AreEqual(SystemFonts.
CaptionFont
!, captionFont);
22
AreEqual(SystemFonts.
CaptionFont
!, menuFont);
System.Windows.Forms.Tests (12)
System\Windows\Forms\ApplicationTests.cs (3)
197
Font customFont = (Font)SystemFonts.
CaptionFont
.Clone();
251
Assert.Throws<InvalidOperationException>(() => Application.SetDefaultFont(SystemFonts.
CaptionFont
));
270
using Font sysFont = SystemFonts.
CaptionFont
;
System\Windows\Forms\ControlTests.Properties.cs (1)
10718
Font font1 = SystemFonts.
CaptionFont
;
System\Windows\Forms\ListViewItemTests.cs (3)
1000
Font = SystemFonts.
CaptionFont
1007
Assert.Equal(value ?? SystemFonts.
CaptionFont
, item.Font);
1011
Assert.Equal(value ?? SystemFonts.
CaptionFont
, item.Font);
System\Windows\Forms\ListViewSubItemTests.cs (5)
253
Font = SystemFonts.
CaptionFont
263
Assert.Equal(SystemFonts.
CaptionFont
, subItem.Font);
291
Font = SystemFonts.
CaptionFont
302
Assert.Equal(value ?? SystemFonts.
CaptionFont
, subItem.Font);
306
Assert.Equal(value ?? SystemFonts.
CaptionFont
, subItem.Font);