15 references to Regular
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (2)
35
FontStyle fontStyle = FontStyle.
Regular
;
107
FontStyle validBits = FontStyle.
Regular
| FontStyle.Bold | FontStyle.Italic | FontStyle.Underline | FontStyle.Strikeout;
System.Windows.Forms.Analyzers.CSharp.Tests (12)
FontConverterTests.cs (10)
36
testData.Add(culture, $"Courier New", "Courier New", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
37
testData.Add(culture, $"Courier New{s_separator} 11", "Courier New", 11f, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
38
testData.Add(culture, $"Arial{s_separator} 11px", "Arial", 11f, (int)GraphicsUnit.Pixel, (int)FontStyle.
Regular
);
39
testData.Add(culture, $"Courier New{s_separator} 11 px", "Courier New", 11f, (int)GraphicsUnit.Pixel, (int)FontStyle.
Regular
);
40
testData.Add(culture, $"Courier New{s_separator} 11 px{s_separator} style=Regular", "Courier New", 11f, (int)GraphicsUnit.Pixel, (int)FontStyle.
Regular
);
43
testData.Add(culture, $"Courier New{s_separator} 11 px{s_separator} style=Regular, Italic", "Courier New", 11f, (int)GraphicsUnit.Pixel, (int)(FontStyle.
Regular
| FontStyle.Italic));
47
testData.Add(culture, $"Arial{s_separator} 10{s_separator}", "Arial", 10f, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
48
testData.Add(culture, $"Arial{s_separator}", "Arial", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
55
testData.Add(culture, $"11px", "11px", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
56
testData.Add(culture, $"Style=Bold", "Style=Bold", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.
Regular
);
Generators\ApplicationConfigurationGenerator\ApplicationConfigurationInitializeBuilderTests.cs (2)
127
DefaultFont: new FontDescriptor("Tahoma", 12, FontStyle.
Regular
, GraphicsUnit.Point).ToString(),
138
DefaultFont: new FontDescriptor("Microsoft Sans Serif", 8.25f, FontStyle.
Regular
, GraphicsUnit.Point).ToString(),
System.Windows.Forms.Analyzers.Tests (1)
Analyzers\AppManifestAnalyzer\FontStyleTests.cs (1)
21
[InlineData("Regular", FontStyle.
Regular
)]