2 types derived from ProfessionalColorTable
System.Windows.Forms (1)
System\Windows\Forms\DarkProfessionalColors.cs (1)
8internal sealed class DarkProfessionalColors : ProfessionalColorTable
System.Windows.Forms.Tests (1)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
51private sealed class CustomColorTable : ProfessionalColorTable
10 instantiations of ProfessionalColorTable
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3814ProfessionalColorTable colorTable = new()
System\Windows\Forms\Controls\ToolStrips\ProfessionalColors.cs (1)
21internal static ProfessionalColorTable ColorTable => t_professionalColorTable ??= new ProfessionalColorTable();
System.Windows.Forms.Tests (8)
System\Windows\Forms\ProfessionalColorTableTests.cs (8)
15ProfessionalColorTable table = new(); 85ProfessionalColorTable table = new(); 94ProfessionalColorTable table = new() 111ProfessionalColorTable table = new(); 125ProfessionalColorTable table = new() 136ProfessionalColorTable table = new() 155ProfessionalColorTable table = new() 192ProfessionalColorTable table = new();
26 references to ProfessionalColorTable
System.Windows.Forms (10)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3814ProfessionalColorTable colorTable = new()
System\Windows\Forms\Controls\ToolStrips\ProfessionalColors.cs (2)
13private static ProfessionalColorTable? t_professionalColorTable; 21internal static ProfessionalColorTable ColorTable => t_professionalColorTable ??= new ProfessionalColorTable();
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
18private ProfessionalColorTable ColorTable
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (2)
31private static ProfessionalColorTable GetColorTable(ToolStripComboBoxControl? toolStripComboBoxControl) 83ProfessionalColorTable colorTable = GetColorTable(toolStripComboBox);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
35private readonly ProfessionalColorTable? _professionalColorTable; 48public ToolStripProfessionalRenderer(ProfessionalColorTable professionalColorTable) 53public ProfessionalColorTable ColorTable => _professionalColorTable ?? ProfessionalColors.ColorTable;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
53private ProfessionalColorTable ColorTable
System.Windows.Forms.Tests (16)
System\Windows\Forms\ProfessionalColorTableTests.cs (13)
15ProfessionalColorTable table = new(); 22static Func<ProfessionalColorTable, T> I<T>(Func<ProfessionalColorTable, T> t) => t; 83public void ProfessionalColorTable_Properties_Get_ReturnsExpected(Func<ProfessionalColorTable, Color> factory) 85ProfessionalColorTable table = new(); 92public void ProfessionalColorTable_Properties_GetUseSystemColors_ReturnsExpected(Func<ProfessionalColorTable, Color> factory) 94ProfessionalColorTable table = new() 104public void ProfessionalColorTable_Properties_GetToolStripManagerVisualStylesEnabled_ReturnsExpected(Func<ProfessionalColorTable, Color> factory) 111ProfessionalColorTable table = new(); 125ProfessionalColorTable table = new() 136ProfessionalColorTable table = new() 155ProfessionalColorTable table = new() 192ProfessionalColorTable table = new();
System\Windows\Forms\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapterTests.cs (3)
42var colorTable = (ProfessionalColorTable)_adapter.TestAccessor().Dynamic.GetColorTable(_comboBox); 45colorTable.Should().BeOfType<ProfessionalColorTable>();