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