9 types derived from ToolStripRenderer
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
13public class ToolStripProfessionalRenderer : ToolStripRenderer
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
9public class ToolStripSystemRenderer : ToolStripRenderer
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (1)
4125private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\StatusStripTests.cs (1)
1247private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\ToolStripButtonTests.cs (1)
1683private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1279private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\ToolStripRendererTests.cs (1)
1021private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
1625private class SubToolStripRenderer : ToolStripRenderer
System\Windows\Forms\ToolStripTests.cs (1)
3288private class SubToolStripRenderer : ToolStripRenderer
45 references to ToolStripRenderer
System.Windows.Forms (32)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1257protected ToolStripRenderer? ToolStripRenderer
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
50private ToolStripRenderer? _renderer; 1489public ToolStripRenderer Renderer 2515private void InitializeRenderer(ToolStripRenderer renderer)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
207ToolStripRenderer renderer = Renderer!;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
259public ToolStripRenderer Renderer
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
181ToolStripRenderer renderer = Renderer!;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
42internal override ToolStripRenderer? RendererOverride
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1622protected internal virtual ToolStripRenderer? Renderer
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (2)
336ToolStripRenderer renderer = Renderer!; 351ToolStripRenderer renderer = Renderer!;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
429private static ToolStripRenderer? t_defaultRenderer; 456public static ToolStripRenderer Renderer 551internal static ToolStripRenderer CreateRenderer(ToolStripManagerRenderMode renderMode) 573internal static ToolStripRenderer CreateRenderer(ToolStripRenderMode renderMode)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
951ToolStripRenderer renderer = Renderer!;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
113ToolStripRenderer renderer = ParentInternal.Renderer;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
230public ToolStripRenderer Renderer
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
15internal override ToolStripRenderer? RendererOverride
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (5)
37private ToolStripRenderer? _toolStripHighContrastRenderer; 38private ToolStripRenderer? _toolStripLowResolutionRenderer; 55internal override ToolStripRenderer? RendererOverride 73internal ToolStripRenderer HighContrastRenderer 83internal ToolStripRenderer LowResolutionRenderer
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
127internal virtual ToolStripRenderer? RendererOverride
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (2)
15private ToolStripRenderer? _renderer; 39public ToolStripRenderer Renderer
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
513ToolStripRenderer? renderer = Renderer;
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (1)
196ToolStripRenderer renderer = Renderer!;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
13private ToolStripRenderer? _toolStripHighContrastRenderer; 23internal override ToolStripRenderer? RendererOverride 36internal ToolStripRenderer HighContrastRenderer
System.Windows.Forms.Tests (13)
System\Windows\Forms\PropertyGridTests.cs (1)
4209public new ToolStripRenderer ToolStripRenderer
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (1)
172internal override ToolStripRenderer RendererOverride => HighContrastRenderer;
System\Windows\Forms\ToolStripContentPanelTests.cs (6)
1142public void ToolStripContentPanel_Renderer_Set_ReturnsExpected(bool visible, bool doubleBuffered, ToolStripRenderer value, bool expectedDoubleBuffered) 1175public void ToolStripContentPanel_Renderer_SetWithHandle_ReturnsExpected(bool visible, bool doubleBuffered, ToolStripRenderer value, bool expectedDoubleBuffered) 1226Mock<ToolStripRenderer> mockToolStripRenderer = new(MockBehavior.Strict); 1907public void ToolStripContentPanel_OnRendererChanged_Invoke_CallsRendererChanged(bool doubleBuffered, ToolStripRenderer renderer, EventArgs eventArgs, bool expectedDoubleBuffered) 1939public void ToolStripContentPanel_OnRendererChanged_InvokeWithHandle_CallsRendererChanged(bool doubleBuffered, ToolStripRenderer renderer, EventArgs eventArgs, bool expectedDoubleBuffered) 1987Mock<ToolStripRenderer> mockToolStripRenderer = new(MockBehavior.Strict);
System\Windows\Forms\ToolStripRendererTests.cs (4)
15Image result = Assert.IsType<Bitmap>(ToolStripRenderer.CreateDisabledImage(image)); 23Assert.Throws<ArgumentNullException>("normalImage", () => ToolStripRenderer.CreateDisabledImage(null)); 1071public static new void ScaleArrowOffsetsIfNeeded() => ToolStripRenderer.ScaleArrowOffsetsIfNeeded(); 1073public static new void ScaleArrowOffsetsIfNeeded(int dpi) => ToolStripRenderer.ScaleArrowOffsetsIfNeeded(dpi);
System\Windows\Forms\ToolStripTests.cs (1)
3228public void ToolStrip_Renderer_Set_ReturnsExpected(ToolStripRenderer value)