1 write to t_visualStyleRenderer
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
293t_visualStyleRenderer = new VisualStyleRenderer(s_buttonElement.ClassName, s_buttonElement.Part, state);
18 references to t_visualStyleRenderer
System.Windows.Forms (18)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (18)
42return t_visualStyleRenderer.IsBackgroundPartiallyTransparent(); 61t_visualStyleRenderer.DrawParentBackground(dc, bounds, childControl); 74t_visualStyleRenderer.DrawBackground(deviceContext, bounds); 100t_visualStyleRenderer.DrawBackground(hdc, bounds, hwnd); 101contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(hdc, bounds); 151t_visualStyleRenderer.DrawBackground(g, bounds); 152contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 153textColor = t_visualStyleRenderer.GetColor(ColorProperty.TextColor); 180t_visualStyleRenderer.DrawBackground(g, bounds); 181t_visualStyleRenderer.DrawImage(g, imageBounds, image); 182contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(g, bounds); 252t_visualStyleRenderer.DrawBackground(deviceContext, bounds); 255t_visualStyleRenderer.DrawImage(graphics, imageBounds, image); 258contentBounds = t_visualStyleRenderer.GetBackgroundContentRectangle(deviceContext, bounds); 259textColor = t_visualStyleRenderer.GetColor(ColorProperty.TextColor); 288[MemberNotNull(nameof(t_visualStyleRenderer))] 291if (t_visualStyleRenderer is null) 297t_visualStyleRenderer.SetParameters(s_buttonElement.ClassName, s_buttonElement.Part, state);