1 write to visualStyleRenderer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ScrollBarRenderer.cs (1)
201
visualStyleRenderer
= new VisualStyleRenderer(element.ClassName, element.Part, state);
14 references to visualStyleRenderer
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ScrollBarRenderer.cs (14)
53
visualStyleRenderer
.DrawBackground(g, bounds);
66
visualStyleRenderer
.DrawBackground(g, bounds);
79
visualStyleRenderer
.DrawBackground(g, bounds);
92
visualStyleRenderer
.DrawBackground(g, bounds);
105
visualStyleRenderer
.DrawBackground(g, bounds);
118
visualStyleRenderer
.DrawBackground(g, bounds);
131
visualStyleRenderer
.DrawBackground(g, bounds);
144
visualStyleRenderer
.DrawBackground(g, bounds);
157
visualStyleRenderer
.DrawBackground(g, bounds);
170
visualStyleRenderer
.DrawBackground(g, bounds);
183
return
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True);
196
return
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True);
200
if (
visualStyleRenderer
== null) {
204
visualStyleRenderer
.SetParameters(element.ClassName, element.Part, state);