23 references to VisualStylesEnabled
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
45
else if (ToolStripManager.
VisualStylesEnabled
) {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
691
if (!comboBox.Enabled || !ToolStripManager.
VisualStylesEnabled
) {
726
if (AccessibilityImprovements.Level2 && SystemInformation.HighContrast && (comboBox.ContainsFocus || comboBox.MouseIsOver) && ToolStripManager.
VisualStylesEnabled
) {
winforms\Managed\System\WinForms\ToolStripGrip.cs (2)
43
gripThickness = ToolStripManager.
VisualStylesEnabled
? scaledGripThicknessVisualStylesEnabled : scaledGripThickness;
248
gripThickness = ToolStripManager.
VisualStylesEnabled
? scaledGripThicknessVisualStylesEnabled : scaledGripThickness;
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
569
bool oldVis =
VisualStylesEnabled
;
572
if (oldVis !=
VisualStylesEnabled
) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1064
else if (!this.IsTopLevel || (ToolStripManager.
VisualStylesEnabled
)) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
108
get { return (ColorTable.UseSystemColors || !ToolStripManager.
VisualStylesEnabled
); }
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (14)
193
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
197
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
200
else if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Band.Normal)) {
207
FillBackground(g, bounds, (!ToolStripManager.
VisualStylesEnabled
) ?
230
if (toolStripDropDown.DropShadowEnabled && ToolStripManager.
VisualStylesEnabled
) {
240
if (ToolStripManager.
VisualStylesEnabled
) {
261
if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Gripper.Normal)) {
337
if (ToolStripManager.
VisualStylesEnabled
&& VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Chevron.Normal)) {
375
if (item.IsTopLevel && !ToolStripManager.
VisualStylesEnabled
) {
408
Color borderColor = ToolStripManager.
VisualStylesEnabled
?
421
else if (!ToolStripManager.
VisualStylesEnabled
&& (item.RawBackColor != Color.Empty)) {
467
if (ToolStripManager.
VisualStylesEnabled
571
if (ToolStripManager.
VisualStylesEnabled
602
if (ToolStripManager.
VisualStylesEnabled