1 write to visualStyleRenderer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
127
visualStyleRenderer
= new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.Part, state);
7 references to visualStyleRenderer
System.Windows.Forms (7)
winforms\Managed\System\WinForms\TextBoxRenderer.cs (7)
47
visualStyleRenderer
.DrawBackground(g, bounds);
49
Color windowColor =
visualStyleRenderer
.GetColor(ColorProperty.FillColor);
51
Rectangle fillRect =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
102
Rectangle textBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
120
Color textColor =
visualStyleRenderer
.GetColor(ColorProperty.TextColor);
126
if (
visualStyleRenderer
== null) {
130
visualStyleRenderer
.SetParameters(TextBoxElement.ClassName, TextBoxElement.Part, state);