1 write to visualStyleRenderer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TrackBarRenderer.cs (1)
264
visualStyleRenderer
= new VisualStyleRenderer(element.ClassName, element.Part, state);
18 references to visualStyleRenderer
System.Windows.Forms (18)
winforms\Managed\System\WinForms\TrackBarRenderer.cs (18)
54
visualStyleRenderer
.DrawBackground(g, bounds);
67
visualStyleRenderer
.DrawBackground(g, bounds);
80
visualStyleRenderer
.DrawBackground(g, bounds);
93
visualStyleRenderer
.DrawBackground(g, bounds);
106
visualStyleRenderer
.DrawBackground(g, bounds);
119
visualStyleRenderer
.DrawBackground(g, bounds);
132
visualStyleRenderer
.DrawBackground(g, bounds);
145
visualStyleRenderer
.DrawBackground(g, bounds);
165
visualStyleRenderer
.DrawEdge(g, new Rectangle(bounds.X, bounds.Y, lineWidth, bounds.Height), Edges.Left, edgeStyle, EdgeEffects.None);
174
visualStyleRenderer
.DrawEdge(g, new Rectangle((int)Math.Round(x), bounds.Y, lineWidth, bounds.Height), Edges.Left, edgeStyle, EdgeEffects.None);
196
visualStyleRenderer
.DrawEdge(g, new Rectangle(bounds.X, bounds.Y, bounds.Width, lineWidth), Edges.Top, edgeStyle, EdgeEffects.None);
205
visualStyleRenderer
.DrawEdge(g, new Rectangle(bounds.X, (int)Math.Round(y), bounds.Width, lineWidth), Edges.Top, edgeStyle, EdgeEffects.None);
220
return (
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True));
233
return (
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True));
246
return (
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True));
259
return (
visualStyleRenderer
.GetPartSize(g, ThemeSizeType.True));
263
if (
visualStyleRenderer
== null) {
267
visualStyleRenderer
.SetParameters(element.ClassName, element.Part, state);