32 references to PropertyDefaultValue
System.Windows.Forms.Analyzers.CSharp (5)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.cs (4)
19defaultValue: PropertyDefaultValue.EnableVisualStyles, 22defaultValue: PropertyDefaultValue.UseCompatibleTextRendering, 101highDpiMode = PropertyDefaultValue.DpiMode; 119highDpiMode = PropertyDefaultValue.DpiMode;
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (1)
34float fontSize = PropertyDefaultValue.FontSize;
System.Windows.Forms.Analyzers.CSharp.Tests (27)
FontConverterTests.cs (7)
36testData.Add(culture, $"Courier New", "Courier New", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Regular); 41testData.Add(culture, $"Courier New{s_separator} style=Bold", "Courier New", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Bold); 48testData.Add(culture, $"Arial{s_separator}", "Arial", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Regular); 50testData.Add(culture, $"Courier New{s_separator} Style=Bold", "Courier New", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Bold); // FullFramework style keyword is case sensitive. 54testData.Add(culture, $"11px{s_separator} Style=Bold", $"11px", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Bold); 55testData.Add(culture, $"11px", "11px", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Regular); 56testData.Add(culture, $"Style=Bold", "Style=Bold", PropertyDefaultValue.FontSize, (int)GraphicsUnit.Point, (int)FontStyle.Regular);
Generators\ApplicationConfigurationGenerator\ApplicationConfigurationInitializeBuilderTests.cs (19)
37EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 39HighDpiMode: PropertyDefaultValue.DpiMode, 40UseCompatibleTextRendering: PropertyDefaultValue.UseCompatibleTextRendering 60HighDpiMode: PropertyDefaultValue.DpiMode, 61UseCompatibleTextRendering: PropertyDefaultValue.UseCompatibleTextRendering 71HighDpiMode: PropertyDefaultValue.DpiMode, 72UseCompatibleTextRendering: PropertyDefaultValue.UseCompatibleTextRendering 81EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 83HighDpiMode: PropertyDefaultValue.DpiMode, 92EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 94HighDpiMode: PropertyDefaultValue.DpiMode, 104EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 106HighDpiMode: PropertyDefaultValue.DpiMode, 115EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 117HighDpiMode: PropertyDefaultValue.DpiMode, 126EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 128HighDpiMode: PropertyDefaultValue.DpiMode, 137EnableVisualStyles: PropertyDefaultValue.EnableVisualStyles, 139HighDpiMode: PropertyDefaultValue.DpiMode,
ProjectFileReaderTests.cs (1)
177Assert.Equal(PropertyDefaultValue.DpiMode, returnedValue);