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