451 references to SystemParameters
Microsoft.VisualStudio.LanguageServices (7)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
62
ParameterText =
SystemParameters
.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E));
63
RemovedParameterText =
SystemParameters
.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray);
64
DisabledParameterBackground =
SystemParameters
.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3));
65
DisabledParameterForeground =
SystemParameters
.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5));
66
Members.Background =
SystemParameters
.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
67
StrikethroughBrush =
SystemParameters
.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
ColorSchemes\ColorSchemeApplier.ClassificationVerifier.cs (1)
98
if (
SystemParameters
.HighContrast ||
PresentationFramework (422)
MS\Internal\Documents\DocumentGrid.cs (4)
3096
return _verticalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3102
get { return _canVerticallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
3116
return _horizontalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3122
get { return _canHorizontallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
MS\Internal\Ink\HighContrastHelper.cs (1)
195
bool isHighContrast =
SystemParameters
.HighContrast;
MS\Internal\Ink\PenCursorManager.cs (2)
347
double maxLength = Math.Min(
SystemParameters
.PrimaryScreenWidth / 2,
SystemParameters
.PrimaryScreenHeight / 2);
MS\Win32\UxThemeWrapper.cs (2)
135
_themeState = new ThemeState(!
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null);
189
bool isActive = !
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\ComboBox.cs (1)
94
new FrameworkPropertyMetadata(
SystemParameters
.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged));
System\Windows\Controls\ContextMenu.cs (2)
257
if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
506
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.MenuPopupAnimationKey);
System\Windows\Controls\InkCanvas.cs (1)
188
if (
SystemParameters
.HighContrast )
System\Windows\Controls\InkPresenter.cs (1)
52
if (
SystemParameters
.HighContrast )
System\Windows\Controls\MenuItem.cs (1)
2592
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
649
return DoubleUtil.GreaterThan(Math.Abs(currentPos.X - originalPos.X),
SystemParameters
.MinimumHorizontalDragDistance);
System\Windows\Controls\Primitives\Popup.cs (2)
860
return BooleanBoxes.Box(
SystemParameters
.DropShadow && ((Popup)d).AllowsTransparency);
2500
bool dropFromRight =
SystemParameters
.MenuDropAlignment;
System\Windows\Controls\Primitives\RepeatButton.cs (2)
168
int delay =
SystemParameters
.KeyboardDelay;
183
int speed =
SystemParameters
.KeyboardSpeed;
System\Windows\Controls\Primitives\Track.cs (4)
635
object buttonHeightResource = TryFindResource(
SystemParameters
.VerticalScrollBarButtonHeightKey);
636
double buttonHeight = buttonHeightResource is double ? (double)buttonHeightResource :
SystemParameters
.VerticalScrollBarButtonHeight;
643
object buttonWidthResource = TryFindResource(
SystemParameters
.HorizontalScrollBarButtonWidthKey);
644
double buttonWidth = buttonWidthResource is double ? (double)buttonWidthResource :
SystemParameters
.HorizontalScrollBarButtonWidth;
System\Windows\Controls\Stack.cs (3)
164
SetVerticalOffset(VerticalOffset -
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
179
SetVerticalOffset(VerticalOffset +
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
1066
get { return (
SystemParameters
.WheelScrollLines > 0); }
System\Windows\Controls\ToolTip.cs (2)
215
if (tt._parentPopup == null || !tt._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
533
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.ToolTipPopupAnimationKey);
System\Windows\Controls\VirtualizingStackPanel.cs (3)
305
int lines =
SystemParameters
.WheelScrollLines;
333
int lines =
SystemParameters
.WheelScrollLines;
11643
get { return (
SystemParameters
.WheelScrollLines > 0); }
System\windows\Documents\CaretElement.cs (2)
64
_systemCaretWidth =
SystemParameters
.CaretWidth;
286
newWidth =
SystemParameters
.CaretWidth;
System\windows\Documents\TextEditor.cs (1)
524
_mouseSelectionState.Timer.Interval = TimeSpan.FromMilliseconds(Math.Max(
SystemParameters
.MenuShowDelay, 200));
System\windows\Documents\TextEditorDragDrop.cs (2)
122
int minimumHorizontalDragDistance = (int)
SystemParameters
.MinimumHorizontalDragDistance;
123
int minimumVerticalDragDistance = (int)
SystemParameters
.MinimumVerticalDragDistance;
System\windows\Documents\TextEditorTyping.cs (1)
1883
SystemParameters
.MouseVanish &&
System\Windows\Input\KeyboardNavigation.cs (4)
272
return
SystemParameters
.KeyboardCues ? BooleanBoxes.TrueBox : value;
836
private static bool _alwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
870
fvs = FrameworkElement.FindResourceInternal(fe, fce: null,
SystemParameters
.FocusVisualStyleKey) as Style;
897
fvs = FrameworkElement.FindResourceInternal(fe: null, fce,
SystemParameters
.FocusVisualStyleKey) as Style;
System\Windows\Markup\XamlTypeMapper.cs (1)
2887
keyObject = typeof(
SystemParameters
);
System\Windows\Shell\WindowChromeWorker.cs (6)
314
templateFixupMargin.Top -=
SystemParameters
.WindowResizeBorderThickness.Top;
322
templateFixupMargin.Left -=
SystemParameters
.WindowResizeBorderThickness.Left;
330
templateFixupMargin.Bottom -=
SystemParameters
.WindowResizeBorderThickness.Bottom;
338
templateFixupMargin.Right -=
SystemParameters
.WindowResizeBorderThickness.Right;
415
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
976
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\SystemColors.cs (16)
1374
if (
SystemParameters
.HighContrast)
1395
if (
SystemParameters
.HighContrast)
1411
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1417
if (
SystemParameters
.HighContrast)
1432
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1438
if (
SystemParameters
.HighContrast)
1453
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1459
if (
SystemParameters
.HighContrast)
1474
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1480
if (
SystemParameters
.HighContrast)
1495
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1501
if (
SystemParameters
.HighContrast)
1516
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1522
if (
SystemParameters
.HighContrast)
1537
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1543
if (
SystemParameters
.HighContrast)
System\Windows\SystemFonts.cs (37)
33
return ConvertFontHeight(
SystemParameters
.IconMetrics.lfFont.lfHeight);
46
_iconFontFamily = new FontFamily(
SystemParameters
.IconMetrics.lfFont.lfFaceName);
60
return (
SystemParameters
.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
71
return FontWeight.FromOpenTypeWeight(
SystemParameters
.IconMetrics.lfFont.lfWeight);
86
if (
SystemParameters
.IconMetrics.lfFont.lfUnderline != 0)
91
if (
SystemParameters
.IconMetrics.lfFont.lfStrikeOut != 0)
110
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfHeight);
124
_captionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfFaceName);
139
return (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
151
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfWeight);
167
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfUnderline != 0)
172
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfStrikeOut != 0)
190
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfHeight);
204
_smallCaptionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfFaceName);
219
return (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
231
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfWeight);
247
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfUnderline != 0)
252
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfStrikeOut != 0)
271
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfHeight);
284
_menuFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMenuFont.lfFaceName);
298
return (
SystemParameters
.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
309
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfWeight);
324
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfUnderline != 0)
329
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfStrikeOut != 0)
347
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfHeight);
361
_statusFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfStatusFont.lfFaceName);
376
return (
SystemParameters
.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
388
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfWeight);
405
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfUnderline!= 0)
410
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfStrikeOut != 0)
428
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfHeight);
457
_messageFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMessageFont.lfFaceName);
472
return (
SystemParameters
.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
483
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfWeight);
498
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfUnderline != 0)
503
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfStrikeOut != 0)
1023
int dpi =
SystemParameters
.Dpi;
System\Windows\SystemKeyConverter.cs (1)
181
return typeof(
SystemParameters
);
System\Windows\SystemParameters.cs (63)
2311
_thinHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXBORDER));
2332
_thinVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYBORDER));
2352
_cursorWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXCURSOR));
2372
_cursorHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCURSOR));
2392
_thickHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXEDGE));
2412
_thickVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYEDGE));
2432
_minimumHorizontalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXDRAG));
2452
_minimumVerticalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYDRAG));
2472
_fixedFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFIXEDFRAME));
2492
_fixedFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFIXEDFRAME));
2512
_focusHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFOCUSBORDER));
2532
_focusVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFOCUSBORDER));
2556
_fullPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFULLSCREEN));
2579
_fullPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFULLSCREEN));
2599
_horizontalScrollBarButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHSCROLL));
2619
_horizontalScrollBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYHSCROLL));
2639
_horizontalScrollBarThumbWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHTHUMB));
2659
_iconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICON));
2679
_iconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICON));
2699
_iconGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICONSPACING));
2719
_iconGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICONSPACING));
2742
_maximizedPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXIMIZED));
2765
_maximizedPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXIMIZED));
2788
_maximumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXTRACK));
2811
_maximumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXTRACK));
2831
_menuCheckmarkWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUCHECK));
2851
_menuCheckmarkHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUCHECK));
2871
_menuButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUSIZE));
2891
_menuButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUSIZE));
2914
_minimumWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMIN));
2937
_minimumWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMIN));
2960
_minimizedWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINIMIZED));
2983
_minimizedWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINIMIZED));
3003
_minimizedGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINSPACING));
3023
_minimizedGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINSPACING));
3046
_minimumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINTRACK));
3069
_minimumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINTRACK));
3089
_primaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSCREEN));
3110
_primaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSCREEN));
3133
_windowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZE));
3153
_windowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZE));
3174
_resizeFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZEFRAME));
3194
_resizeFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZEFRAME));
3214
_smallIconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMICON));
3234
_smallIconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMICON));
3254
_smallWindowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMSIZE));
3274
_smallWindowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMSIZE));
3297
_virtualScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVIRTUALSCREEN));
3320
_virtualScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVIRTUALSCREEN));
3341
_verticalScrollBarWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVSCROLL));
3361
_verticalScrollBarButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVSCROLL));
3384
_windowCaptionHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCAPTION));
3408
_kanjiWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYKANJIWINDOW));
3431
_menuBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENU));
3451
_verticalScrollBarThumbHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVTHUMB));
3765
_virtualScreenLeft =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.XVIRTUALSCREEN));
3788
_virtualScreenTop =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.YVIRTUALSCREEN));
5721
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
5746
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
5748
double captionHeightInDips = Standard.DpiHelper.DevicePixelsToLogical(new Point(0, captionHeight),
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0).Y;
System\Windows\SystemResourceKey.cs (244)
686
return
SystemParameters
.ThinHorizontalBorderHeight;
689
return
SystemParameters
.ThinVerticalBorderWidth;
692
return
SystemParameters
.CursorWidth;
695
return
SystemParameters
.CursorHeight;
698
return
SystemParameters
.ThickHorizontalBorderHeight;
701
return
SystemParameters
.ThickVerticalBorderWidth;
704
return
SystemParameters
.FixedFrameHorizontalBorderHeight;
707
return
SystemParameters
.FixedFrameVerticalBorderWidth;
710
return
SystemParameters
.FocusHorizontalBorderHeight;
713
return
SystemParameters
.FocusVerticalBorderWidth;
716
return
SystemParameters
.FullPrimaryScreenWidth;
719
return
SystemParameters
.FullPrimaryScreenHeight;
722
return
SystemParameters
.HorizontalScrollBarButtonWidth;
725
return
SystemParameters
.HorizontalScrollBarHeight;
728
return
SystemParameters
.HorizontalScrollBarThumbWidth;
731
return
SystemParameters
.IconWidth;
734
return
SystemParameters
.IconHeight;
737
return
SystemParameters
.IconGridWidth;
740
return
SystemParameters
.IconGridHeight;
743
return
SystemParameters
.MaximizedPrimaryScreenWidth;
746
return
SystemParameters
.MaximizedPrimaryScreenHeight;
749
return
SystemParameters
.MaximumWindowTrackWidth;
752
return
SystemParameters
.MaximumWindowTrackHeight;
755
return
SystemParameters
.MenuCheckmarkWidth;
758
return
SystemParameters
.MenuCheckmarkHeight;
761
return
SystemParameters
.MenuButtonWidth;
764
return
SystemParameters
.MenuButtonHeight;
767
return
SystemParameters
.MinimumWindowWidth;
770
return
SystemParameters
.MinimumWindowHeight;
773
return
SystemParameters
.MinimizedWindowWidth;
776
return
SystemParameters
.MinimizedWindowHeight;
779
return
SystemParameters
.MinimizedGridWidth;
782
return
SystemParameters
.MinimizedGridHeight;
785
return
SystemParameters
.MinimumWindowTrackWidth;
788
return
SystemParameters
.MinimumWindowTrackHeight;
791
return
SystemParameters
.PrimaryScreenWidth;
794
return
SystemParameters
.PrimaryScreenHeight;
797
return
SystemParameters
.WindowCaptionButtonWidth;
800
return
SystemParameters
.WindowCaptionButtonHeight;
803
return
SystemParameters
.ResizeFrameHorizontalBorderHeight;
806
return
SystemParameters
.ResizeFrameVerticalBorderWidth;
809
return
SystemParameters
.SmallIconWidth;
812
return
SystemParameters
.SmallIconHeight;
815
return
SystemParameters
.SmallWindowCaptionButtonWidth;
818
return
SystemParameters
.SmallWindowCaptionButtonHeight;
821
return
SystemParameters
.VirtualScreenWidth;
824
return
SystemParameters
.VirtualScreenHeight;
827
return
SystemParameters
.VerticalScrollBarWidth;
830
return
SystemParameters
.VerticalScrollBarButtonHeight;
833
return
SystemParameters
.WindowCaptionHeight;
836
return
SystemParameters
.KanjiWindowHeight;
839
return
SystemParameters
.MenuBarHeight;
842
return
SystemParameters
.SmallCaptionHeight;
845
return
SystemParameters
.VerticalScrollBarThumbHeight;
848
return BooleanBoxes.Box(
SystemParameters
.IsImmEnabled);
851
return BooleanBoxes.Box(
SystemParameters
.IsMediaCenter);
854
return BooleanBoxes.Box(
SystemParameters
.IsMenuDropRightAligned);
857
return BooleanBoxes.Box(
SystemParameters
.IsMiddleEastEnabled);
860
return BooleanBoxes.Box(
SystemParameters
.IsMousePresent);
863
return BooleanBoxes.Box(
SystemParameters
.IsMouseWheelPresent);
866
return BooleanBoxes.Box(
SystemParameters
.IsPenWindows);
869
return BooleanBoxes.Box(
SystemParameters
.IsRemotelyControlled);
872
return BooleanBoxes.Box(
SystemParameters
.IsRemoteSession);
875
return BooleanBoxes.Box(
SystemParameters
.ShowSounds);
878
return BooleanBoxes.Box(
SystemParameters
.IsSlowMachine);
881
return BooleanBoxes.Box(
SystemParameters
.SwapButtons);
884
return BooleanBoxes.Box(
SystemParameters
.IsTabletPC);
887
return
SystemParameters
.VirtualScreenLeft;
890
return
SystemParameters
.VirtualScreenTop;
893
return
SystemParameters
.FocusBorderWidth;
896
return
SystemParameters
.FocusBorderHeight;
899
return BooleanBoxes.Box(
SystemParameters
.HighContrast);
902
return BooleanBoxes.Box(
SystemParameters
.DropShadow);
905
return BooleanBoxes.Box(
SystemParameters
.FlatMenu);
908
return
SystemParameters
.WorkArea;
911
return
SystemParameters
.IconHorizontalSpacing;
914
return
SystemParameters
.IconVerticalSpacing;
917
return
SystemParameters
.IconTitleWrap;
935
return BooleanBoxes.Box(
SystemParameters
.KeyboardCues);
938
return
SystemParameters
.KeyboardDelay;
941
return BooleanBoxes.Box(
SystemParameters
.KeyboardPreference);
944
return
SystemParameters
.KeyboardSpeed;
947
return BooleanBoxes.Box(
SystemParameters
.SnapToDefaultButton);
950
return
SystemParameters
.WheelScrollLines;
953
return
SystemParameters
.MouseHoverTime;
956
return
SystemParameters
.MouseHoverHeight;
959
return
SystemParameters
.MouseHoverWidth;
962
return BooleanBoxes.Box(
SystemParameters
.MenuDropAlignment);
965
return BooleanBoxes.Box(
SystemParameters
.MenuFade);
968
return
SystemParameters
.MenuShowDelay;
971
return BooleanBoxes.Box(
SystemParameters
.ComboBoxAnimation);
974
return BooleanBoxes.Box(
SystemParameters
.ClientAreaAnimation);
977
return BooleanBoxes.Box(
SystemParameters
.CursorShadow);
980
return BooleanBoxes.Box(
SystemParameters
.GradientCaptions);
983
return BooleanBoxes.Box(
SystemParameters
.HotTracking);
986
return BooleanBoxes.Box(
SystemParameters
.ListBoxSmoothScrolling);
989
return BooleanBoxes.Box(
SystemParameters
.MenuAnimation);
992
return BooleanBoxes.Box(
SystemParameters
.SelectionFade);
995
return BooleanBoxes.Box(
SystemParameters
.StylusHotTracking);
998
return BooleanBoxes.Box(
SystemParameters
.ToolTipAnimation);
1001
return BooleanBoxes.Box(
SystemParameters
.ToolTipFade);
1004
return BooleanBoxes.Box(
SystemParameters
.UIEffects);
1007
return BooleanBoxes.Box(
SystemParameters
.MinimizeAnimation);
1010
return
SystemParameters
.Border;
1013
return
SystemParameters
.CaretWidth;
1016
return
SystemParameters
.ForegroundFlashCount;
1019
return BooleanBoxes.Box(
SystemParameters
.DragFullWindows);
1022
return
SystemParameters
.BorderWidth;
1025
return
SystemParameters
.ScrollWidth;
1028
return
SystemParameters
.ScrollHeight;
1031
return
SystemParameters
.CaptionWidth;
1034
return
SystemParameters
.CaptionHeight;
1037
return
SystemParameters
.SmallCaptionWidth;
1040
return
SystemParameters
.MenuWidth;
1043
return
SystemParameters
.MenuHeight;
1121
return
SystemParameters
.ComboBoxPopupAnimation;
1124
return
SystemParameters
.MenuPopupAnimation;
1127
return
SystemParameters
.ToolTipPopupAnimation;
1130
return
SystemParameters
.PowerLineStatus;
1370
return
SystemParameters
.ThinHorizontalBorderHeightKey;
1373
return
SystemParameters
.ThinVerticalBorderWidthKey;
1376
return
SystemParameters
.CursorWidthKey;
1379
return
SystemParameters
.CursorHeightKey;
1382
return
SystemParameters
.ThickHorizontalBorderHeightKey;
1385
return
SystemParameters
.ThickVerticalBorderWidthKey;
1388
return
SystemParameters
.FixedFrameHorizontalBorderHeightKey;
1391
return
SystemParameters
.FixedFrameVerticalBorderWidthKey;
1394
return
SystemParameters
.FocusHorizontalBorderHeightKey;
1397
return
SystemParameters
.FocusVerticalBorderWidthKey;
1400
return
SystemParameters
.FullPrimaryScreenWidthKey;
1403
return
SystemParameters
.FullPrimaryScreenHeightKey;
1406
return
SystemParameters
.HorizontalScrollBarButtonWidthKey;
1409
return
SystemParameters
.HorizontalScrollBarHeightKey;
1412
return
SystemParameters
.HorizontalScrollBarThumbWidthKey;
1415
return
SystemParameters
.IconWidthKey;
1418
return
SystemParameters
.IconHeightKey;
1421
return
SystemParameters
.IconGridWidthKey;
1424
return
SystemParameters
.IconGridHeightKey;
1427
return
SystemParameters
.MaximizedPrimaryScreenWidthKey;
1430
return
SystemParameters
.MaximizedPrimaryScreenHeightKey;
1433
return
SystemParameters
.MaximumWindowTrackWidthKey;
1436
return
SystemParameters
.MaximumWindowTrackHeightKey;
1439
return
SystemParameters
.MenuCheckmarkWidthKey;
1442
return
SystemParameters
.MenuCheckmarkHeightKey;
1445
return
SystemParameters
.MenuButtonWidthKey;
1448
return
SystemParameters
.MenuButtonHeightKey;
1451
return
SystemParameters
.MinimumWindowWidthKey;
1454
return
SystemParameters
.MinimumWindowHeightKey;
1457
return
SystemParameters
.MinimizedWindowWidthKey;
1460
return
SystemParameters
.MinimizedWindowHeightKey;
1463
return
SystemParameters
.MinimizedGridWidthKey;
1466
return
SystemParameters
.MinimizedGridHeightKey;
1469
return
SystemParameters
.MinimumWindowTrackWidthKey;
1472
return
SystemParameters
.MinimumWindowTrackHeightKey;
1475
return
SystemParameters
.PrimaryScreenWidthKey;
1478
return
SystemParameters
.PrimaryScreenHeightKey;
1481
return
SystemParameters
.WindowCaptionButtonWidthKey;
1484
return
SystemParameters
.WindowCaptionButtonHeightKey;
1487
return
SystemParameters
.ResizeFrameHorizontalBorderHeightKey;
1490
return
SystemParameters
.ResizeFrameVerticalBorderWidthKey;
1493
return
SystemParameters
.SmallIconWidthKey;
1496
return
SystemParameters
.SmallIconHeightKey;
1499
return
SystemParameters
.SmallWindowCaptionButtonWidthKey;
1502
return
SystemParameters
.SmallWindowCaptionButtonHeightKey;
1505
return
SystemParameters
.VirtualScreenWidthKey;
1508
return
SystemParameters
.VirtualScreenHeightKey;
1511
return
SystemParameters
.VerticalScrollBarWidthKey;
1514
return
SystemParameters
.VerticalScrollBarButtonHeightKey;
1517
return
SystemParameters
.WindowCaptionHeightKey;
1520
return
SystemParameters
.KanjiWindowHeightKey;
1523
return
SystemParameters
.MenuBarHeightKey;
1526
return
SystemParameters
.SmallCaptionHeightKey;
1529
return
SystemParameters
.VerticalScrollBarThumbHeightKey;
1532
return
SystemParameters
.IsImmEnabledKey;
1535
return
SystemParameters
.IsMediaCenterKey;
1538
return
SystemParameters
.IsMenuDropRightAlignedKey;
1541
return
SystemParameters
.IsMiddleEastEnabledKey;
1544
return
SystemParameters
.IsMousePresentKey;
1547
return
SystemParameters
.IsMouseWheelPresentKey;
1550
return
SystemParameters
.IsPenWindowsKey;
1553
return
SystemParameters
.IsRemotelyControlledKey;
1556
return
SystemParameters
.IsRemoteSessionKey;
1559
return
SystemParameters
.ShowSoundsKey;
1562
return
SystemParameters
.IsSlowMachineKey;
1565
return
SystemParameters
.SwapButtonsKey;
1568
return
SystemParameters
.IsTabletPCKey;
1571
return
SystemParameters
.VirtualScreenLeftKey;
1574
return
SystemParameters
.VirtualScreenTopKey;
1577
return
SystemParameters
.FocusBorderWidthKey;
1580
return
SystemParameters
.FocusBorderHeightKey;
1583
return
SystemParameters
.HighContrastKey;
1586
return
SystemParameters
.DropShadowKey;
1589
return
SystemParameters
.FlatMenuKey;
1592
return
SystemParameters
.WorkAreaKey;
1595
return
SystemParameters
.IconHorizontalSpacingKey;
1598
return
SystemParameters
.IconVerticalSpacingKey;
1601
return
SystemParameters
.IconTitleWrapKey;
1619
return
SystemParameters
.KeyboardCuesKey;
1622
return
SystemParameters
.KeyboardDelayKey;
1625
return
SystemParameters
.KeyboardPreferenceKey;
1628
return
SystemParameters
.KeyboardSpeedKey;
1631
return
SystemParameters
.SnapToDefaultButtonKey;
1634
return
SystemParameters
.WheelScrollLinesKey;
1637
return
SystemParameters
.MouseHoverTimeKey;
1640
return
SystemParameters
.MouseHoverHeightKey;
1643
return
SystemParameters
.MouseHoverWidthKey;
1646
return
SystemParameters
.MenuDropAlignmentKey;
1649
return
SystemParameters
.MenuFadeKey;
1652
return
SystemParameters
.MenuShowDelayKey;
1655
return
SystemParameters
.ComboBoxAnimationKey;
1658
return
SystemParameters
.ClientAreaAnimationKey;
1661
return
SystemParameters
.CursorShadowKey;
1664
return
SystemParameters
.GradientCaptionsKey;
1667
return
SystemParameters
.HotTrackingKey;
1670
return
SystemParameters
.ListBoxSmoothScrollingKey;
1673
return
SystemParameters
.MenuAnimationKey;
1676
return
SystemParameters
.SelectionFadeKey;
1679
return
SystemParameters
.StylusHotTrackingKey;
1682
return
SystemParameters
.ToolTipAnimationKey;
1685
return
SystemParameters
.ToolTipFadeKey;
1688
return
SystemParameters
.UIEffectsKey;
1691
return
SystemParameters
.MinimizeAnimationKey;
1694
return
SystemParameters
.BorderKey;
1697
return
SystemParameters
.CaretWidthKey;
1700
return
SystemParameters
.ForegroundFlashCountKey;
1703
return
SystemParameters
.DragFullWindowsKey;
1706
return
SystemParameters
.BorderWidthKey;
1709
return
SystemParameters
.ScrollWidthKey;
1712
return
SystemParameters
.ScrollHeightKey;
1715
return
SystemParameters
.CaptionWidthKey;
1718
return
SystemParameters
.CaptionHeightKey;
1721
return
SystemParameters
.SmallCaptionWidthKey;
1724
return
SystemParameters
.MenuWidthKey;
1727
return
SystemParameters
.MenuHeightKey;
1805
return
SystemParameters
.ComboBoxPopupAnimationKey;
1808
return
SystemParameters
.MenuPopupAnimationKey;
1811
return
SystemParameters
.ToolTipPopupAnimationKey;
1814
return
SystemParameters
.FocusVisualStyleKey;
1817
return
SystemParameters
.NavigationChromeDownLevelStyleKey;
1820
return
SystemParameters
.NavigationChromeStyleKey;
1862
return
SystemParameters
.PowerLineStatusKey;
1873
return
SystemParameters
.FocusVisualStyleKey;
1906
return
SystemParameters
.NavigationChromeStyleKey;
1909
return
SystemParameters
.NavigationChromeDownLevelStyleKey;
System\Windows\SystemResources.cs (10)
1270
System.Windows.Input.KeyboardNavigation.AlwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
1350
if (
SystemParameters
.InvalidateDeviceDependentCache())
1362
if (
SystemParameters
.InvalidateDisplayDependentCache())
1373
SystemParameters
.InvalidatePowerDependentCache())
1382
SystemParameters
.InvalidateCache();
1383
SystemParameters
.InvalidateDerivedThemeRelatedProperties();
1404
if (
SystemParameters
.InvalidateCache((int)wParam))
1415
SystemParameters
.InvalidateWindowFrameThicknessProperties();
1433
SystemParameters
.InvalidateIsGlassEnabled();
1437
SystemParameters
.InvalidateWindowGlassColorizationProperties();
System\Windows\ThemeManager.cs (2)
182
if (
SystemParameters
.HighContrast)
302
if (
SystemParameters
.HighContrast)
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
859
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679
return
SystemParameters
.PowerLineStatus == PowerLineStatus.Online &&
680
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
409
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
797
return
SystemParameters
.ClientAreaAnimation &&
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
859
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679
return
SystemParameters
.PowerLineStatus == PowerLineStatus.Online &&
680
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
409
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
797
return
SystemParameters
.ClientAreaAnimation &&
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
190
(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures &&
SystemParameters
.HighContrast)
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
134
if (!
SystemParameters
.HighContrast)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (3)
217
get { return (
SystemParameters
.WheelScrollLines > 0); }
727
SetVerticalOffset(VerticalOffset -
SystemParameters
.WheelScrollLines * internalScrollDelta);
742
SetVerticalOffset(VerticalOffset +
SystemParameters
.WheelScrollLines * internalScrollDelta);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
238
if (!
SystemParameters
.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
56
Size size = new Size(
SystemParameters
.SmallIconWidth,
SystemParameters
.SmallIconHeight);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
587
if (newValueSource > BaseValueSource.Inherited && !
SystemParameters
.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
179
if (
SystemParameters
.HighContrast || !popup.IsOpen)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1182
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay + CloseSubmenuTimerDelayBuffer);
1186
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay);