4 writes to visualStyleRenderer
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (4)
73
visualStyleRenderer
= new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
110
visualStyleRenderer
= new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
132
visualStyleRenderer
= new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
168
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxElement.ClassName, ComboBoxElement.Part, (int)state);
14 references to visualStyleRenderer
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (14)
48
visualStyleRenderer
.DrawBackground(g, bounds);
52
Color windowColor =
visualStyleRenderer
.GetColor(ColorProperty.FillColor);
54
Rectangle fillRect =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
72
if (
visualStyleRenderer
== null) {
76
visualStyleRenderer
.SetParameters(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
109
if (
visualStyleRenderer
== null) {
113
visualStyleRenderer
.SetParameters(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
116
Rectangle textBounds =
visualStyleRenderer
.GetBackgroundContentRectangle(g, bounds);
131
if (
visualStyleRenderer
== null) {
135
visualStyleRenderer
.SetParameters(TextBoxElement.ClassName, TextBoxElement.Part, (int)state);
139
Color textColor =
visualStyleRenderer
.GetColor(ColorProperty.TextColor);
167
if (
visualStyleRenderer
== null) {
171
visualStyleRenderer
.SetParameters(ComboBoxElement.ClassName, ComboBoxElement.Part, (int)state);
174
visualStyleRenderer
.DrawBackground(g, bounds, handle);