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