2 types derived from ToolStripProfessionalRenderer
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
9internal class ToolStripProfessionalLowResolutionRenderer : ToolStripProfessionalRenderer
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\NoBorderRenderer.cs (1)
6internal class NoBorderRenderer : ToolStripProfessionalRenderer
9 instantiations of ToolStripProfessionalRenderer
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3819ToolStripRenderer = new ToolStripProfessionalRenderer(colorTable);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (3)
560return new ToolStripProfessionalRenderer(new DarkProfessionalColors()); 564return new ToolStripProfessionalRenderer(isDefault: true); 577ToolStripRenderMode.Professional => new ToolStripProfessionalRenderer(isDefault: true),
System.Windows.Forms.Tests (5)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
21Renderer = new ToolStripProfessionalRenderer(new CustomColorTable()),
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
1137yield return new object[] { visible, doubleBuffered, new ToolStripProfessionalRenderer(), true }; 1902yield return new object[] { doubleBuffered, new ToolStripProfessionalRenderer(), null, true }; 1903yield return new object[] { doubleBuffered, new ToolStripProfessionalRenderer(), new EventArgs(), true };
System\Windows\Forms\ToolStripTests.cs (1)
3225yield return new object[] { new ToolStripProfessionalRenderer() };
35 references to ToolStripProfessionalRenderer
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
24if (Owner.Renderer is ToolStripProfessionalRenderer renderer)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
22|| toolStripComboBox.Owner?.Renderer is not ToolStripProfessionalRenderer)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
331if (Renderer is ToolStripProfessionalRenderer)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
432internal static Type s_professionalRendererType = typeof(ToolStripProfessionalRenderer);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (2)
59if (Owner.Renderer is ToolStripProfessionalRenderer renderer) 74(Owner is not null && (Owner.Renderer is ToolStripProfessionalRenderer)));
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (2)
122_selectionMenuItem.DropDown.Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"]!; 202Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"]!;
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (1)
30Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"]!;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
362menu.Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"];
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
392contextMenu.Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"];
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (3)
81item.DropDown.Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"]; 168ToolStripProfessionalRenderer renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"];
System.Windows.Forms.Tests (21)
System\Windows\Forms\MdiControlStripTests.cs (1)
129Assert.IsType<ToolStripProfessionalRenderer>(mdiControlStrip.Renderer);
System\Windows\Forms\MenuStripTests.cs (1)
127Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);
System\Windows\Forms\StatusStripTests.cs (5)
127Assert.True(control.Renderer is ToolStripSystemRenderer or ToolStripProfessionalRenderer, "Renderer is not one of the expected types."); 469[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 3)] 470[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 2)] 512[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 2)] 513[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 1)]
System\Windows\Forms\ToolStripContentPanelTests.cs (6)
1286[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 3)] 1287[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 4)] 1325[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 1359Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 1365[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 3)] 1366[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 4)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
135Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);
System\Windows\Forms\ToolStripTests.cs (7)
143Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 298Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3295[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 3313Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3333Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3338[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 3370Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);