4 writes to visualStyleRenderer
System.Windows.Forms (4)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (4)
233
visualStyleRenderer
= new VisualStyleRenderer(VisualStyleElement.Window.Caption.Active);
254
visualStyleRenderer
= new VisualStyleRenderer(VisualStyleElement.Window.Caption.Active);
278
visualStyleRenderer
= new VisualStyleRenderer(VisualStyleElement.TextBox.TextEdit.Normal);
300
visualStyleRenderer
= new VisualStyleRenderer(VisualStyleElement.Button.PushButton.Normal);
12 references to visualStyleRenderer
System.Windows.Forms (12)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (12)
232
if (
visualStyleRenderer
== null) {
236
visualStyleRenderer
.SetParameters(VisualStyleElement.Window.Caption.Active);
239
return (SafeNativeMethods.GetThemeSysBool(new HandleRef(null,
visualStyleRenderer
.Handle), VisualStyleSystemProperty.SupportsFlatMenus));
253
if (
visualStyleRenderer
== null) {
257
visualStyleRenderer
.SetParameters(VisualStyleElement.Window.Caption.Active);
262
SafeNativeMethods.GetThemeSysInt(new HandleRef(null,
visualStyleRenderer
.Handle), VisualStyleSystemProperty.MinimumColorDepth, ref mcDepth);
277
if (
visualStyleRenderer
== null) {
281
visualStyleRenderer
.SetParameters(VisualStyleElement.TextBox.TextEdit.Normal);
283
Color borderColor =
visualStyleRenderer
.GetColor(ColorProperty.BorderColor);
299
if (
visualStyleRenderer
== null) {
304
visualStyleRenderer
.SetParameters(VisualStyleElement.Button.PushButton.Normal);
306
Color accentColor =
visualStyleRenderer
.GetColor(ColorProperty.AccentColorHint);