35 references to HighContrast
Microsoft.VisualStudio.LanguageServices (6)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
63
ParameterText = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E));
64
RemovedParameterText = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray);
65
DisabledParameterBackground = SystemParameters.
HighContrast
? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3));
66
DisabledParameterForeground = SystemParameters.
HighContrast
? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5));
67
Members.Background = SystemParameters.
HighContrast
? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
68
StrikethroughBrush = SystemParameters.
HighContrast
? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
PresentationFramework (24)
MS\Internal\Ink\HighContrastHelper.cs (1)
190
bool isHighContrast = SystemParameters.
HighContrast
;
MS\Win32\UxThemeWrapper.cs (2)
127
_themeState = new ThemeState(!SystemParameters.
HighContrast
&& SafeNativeMethods.IsUxThemeActive(), null, null);
181
bool isActive = !SystemParameters.
HighContrast
&& SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\InkCanvas.cs (1)
185
if ( SystemParameters.
HighContrast
)
System\Windows\Controls\InkPresenter.cs (1)
44
if ( SystemParameters.
HighContrast
)
System\Windows\SystemColors.cs (16)
1371
if (SystemParameters.
HighContrast
)
1392
if (SystemParameters.
HighContrast
)
1408
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1414
if (SystemParameters.
HighContrast
)
1429
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1435
if (SystemParameters.
HighContrast
)
1450
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1456
if (SystemParameters.
HighContrast
)
1471
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1477
if (SystemParameters.
HighContrast
)
1492
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1498
if (SystemParameters.
HighContrast
)
1513
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1519
if (SystemParameters.
HighContrast
)
1534
/// When <see cref="SystemParameters.
HighContrast
"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1540
if (SystemParameters.
HighContrast
)
System\Windows\SystemResourceKey.cs (1)
898
return BooleanBoxes.Box(SystemParameters.
HighContrast
);
System\Windows\ThemeManager.cs (2)
176
if ( SystemParameters.
HighContrast
)
303
if (SystemParameters.
HighContrast
)
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
185
(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures && SystemParameters.
HighContrast
)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
125
if (!SystemParameters.
HighContrast
)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
234
if (!SystemParameters.
HighContrast
&& DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
580
if (newValueSource > BaseValueSource.Inherited && !SystemParameters.
HighContrast
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
177
if (SystemParameters.
HighContrast
|| !popup.IsOpen)