4 writes to VisualStylesEnabled
System.Windows.Forms.Tests (4)
System\Windows\Forms\ProfessionalColorsTests.cs (2)
86
ToolStripManager.
VisualStylesEnabled
= true;
93
ToolStripManager.
VisualStylesEnabled
= oldValue;
System\Windows\Forms\ProfessionalColorTableTests.cs (2)
109
ToolStripManager.
VisualStylesEnabled
= true;
117
ToolStripManager.
VisualStylesEnabled
= oldValue;
24 references to VisualStylesEnabled
System.Windows.Forms (22)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
44
else if (ToolStripManager.
VisualStylesEnabled
)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (2)
76
if (!comboBox.Enabled || !ToolStripManager.
VisualStylesEnabled
)
133
&& ToolStripManager.
VisualStylesEnabled
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
247
ToolStripManager.
VisualStylesEnabled
? LogicalGripThicknessVisualStylesEnabled : LogicalGripThickness,
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
541
bool oldVis =
VisualStylesEnabled
;
544
if (oldVis !=
VisualStylesEnabled
)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
960
else if (!IsTopLevel || (ToolStripManager.
VisualStylesEnabled
))
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
107
get { return (ColorTable.UseSystemColors || !ToolStripManager.
VisualStylesEnabled
); }
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (14)
210
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
215
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
218
else if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Band.Normal))
226
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
247
if (toolStripDropDown.DropShadowEnabled && ToolStripManager.
VisualStylesEnabled
)
260
if (ToolStripManager.
VisualStylesEnabled
)
282
if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Gripper.Normal))
383
if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Chevron.Normal))
422
if (item.IsTopLevel && !ToolStripManager.
VisualStylesEnabled
)
461
Color borderColor = ToolStripManager.
VisualStylesEnabled
475
else if (!ToolStripManager.
VisualStylesEnabled
&& (item.RawBackColor != Color.Empty))
532
if (ToolStripManager.
VisualStylesEnabled
651
if (ToolStripManager.
VisualStylesEnabled
695
if (ToolStripManager.
VisualStylesEnabled
System.Windows.Forms.Tests (2)
System\Windows\Forms\ProfessionalColorsTests.cs (1)
83
bool oldValue = ToolStripManager.
VisualStylesEnabled
;
System\Windows\Forms\ProfessionalColorTableTests.cs (1)
106
bool oldValue = ToolStripManager.
VisualStylesEnabled
;