1 write to visualStyleRenderer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ButtonRenderer.cs (1)
272
visualStyleRenderer
= new VisualStyleRenderer(ButtonElement.ClassName, ButtonElement.Part, state);
17 references to visualStyleRenderer
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ButtonRenderer.cs (17)
67
return
visualStyleRenderer
.IsBackgroundPartiallyTransparent();
85
visualStyleRenderer
.DrawParentBackground(g, bounds, childControl);
99
visualStyleRenderer
.DrawBackground(g, bounds);
120
visualStyleRenderer
.DrawBackground(g, bounds, handle);
121
contentBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
169
visualStyleRenderer
.DrawBackground(g, bounds);
170
contentBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
171
textColor =
visualStyleRenderer
.GetColor(ColorProperty.TextColor);
198
visualStyleRenderer
.DrawBackground(g, bounds);
199
visualStyleRenderer
.DrawImage(g, imageBounds, image);
200
contentBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
238
visualStyleRenderer
.DrawBackground(g, bounds);
239
visualStyleRenderer
.DrawImage(g, imageBounds, image);
240
contentBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
241
textColor =
visualStyleRenderer
.GetColor(ColorProperty.TextColor);
271
if (
visualStyleRenderer
== null) {
275
visualStyleRenderer
.SetParameters(ButtonElement.ClassName, ButtonElement.Part, state);