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)
561return new ToolStripProfessionalRenderer(new DarkProfessionalColors()); 565return new ToolStripProfessionalRenderer(isDefault: true); 578ToolStripRenderMode.Professional => new ToolStripProfessionalRenderer(isDefault: true),
System.Windows.Forms.Tests (5)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
19Renderer = new ToolStripProfessionalRenderer(new CustomColorTable()),
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
1135yield return new object[] { visible, doubleBuffered, new ToolStripProfessionalRenderer(), true }; 1900yield return new object[] { doubleBuffered, new ToolStripProfessionalRenderer(), null, true }; 1901yield return new object[] { doubleBuffered, new ToolStripProfessionalRenderer(), new EventArgs(), true };
System\Windows\Forms\ToolStripTests.cs (1)
3223yield 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)
433internal 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)
127Assert.IsType<ToolStripProfessionalRenderer>(mdiControlStrip.Renderer);
System\Windows\Forms\MenuStripTests.cs (1)
125Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);
System\Windows\Forms\StatusStripTests.cs (5)
125Assert.True(control.Renderer is ToolStripSystemRenderer or ToolStripProfessionalRenderer, "Renderer is not one of the expected types."); 467[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 3)] 468[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 2)] 510[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 2)] 511[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 1)]
System\Windows\Forms\ToolStripContentPanelTests.cs (6)
1284[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 3)] 1285[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 4)] 1323[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 1357Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 1363[InlineData(ToolStripRenderMode.ManagerRenderMode, typeof(ToolStripProfessionalRenderer), 3)] 1364[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer), 4)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
133Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);
System\Windows\Forms\ToolStripTests.cs (7)
141Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 296Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3293[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 3311Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3331Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer); 3336[InlineData(ToolStripRenderMode.Professional, typeof(ToolStripProfessionalRenderer))] 3368Assert.IsType<ToolStripProfessionalRenderer>(control.Renderer);