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