450 references to SystemParameters
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 (422)
MS\Internal\Documents\DocumentGrid.cs (4)
3082
return _verticalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3088
get { return _canVerticallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
3102
return _horizontalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3108
get { return _canHorizontallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
MS\Internal\Ink\HighContrastHelper.cs (1)
191
bool isHighContrast =
SystemParameters
.HighContrast;
MS\Internal\Ink\PenCursorManager.cs (2)
343
double maxLength = Math.Min(
SystemParameters
.PrimaryScreenWidth / 2,
SystemParameters
.PrimaryScreenHeight / 2);
MS\Win32\UxThemeWrapper.cs (2)
128
_themeState = new ThemeState(!
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null);
182
bool isActive = !
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\ComboBox.cs (1)
84
new FrameworkPropertyMetadata(
SystemParameters
.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged));
System\Windows\Controls\ContextMenu.cs (2)
249
if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
499
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.MenuPopupAnimationKey);
System\Windows\Controls\InkCanvas.cs (1)
186
if (
SystemParameters
.HighContrast )
System\Windows\Controls\InkPresenter.cs (1)
45
if (
SystemParameters
.HighContrast )
System\Windows\Controls\MenuItem.cs (1)
2577
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
638
return DoubleUtil.GreaterThan(Math.Abs(currentPos.X - originalPos.X),
SystemParameters
.MinimumHorizontalDragDistance);
System\Windows\Controls\Primitives\Popup.cs (2)
849
return BooleanBoxes.Box(
SystemParameters
.DropShadow && ((Popup)d).AllowsTransparency);
2506
bool dropFromRight =
SystemParameters
.MenuDropAlignment;
System\Windows\Controls\Primitives\RepeatButton.cs (2)
156
int delay =
SystemParameters
.KeyboardDelay;
171
int speed =
SystemParameters
.KeyboardSpeed;
System\Windows\Controls\Primitives\Track.cs (4)
618
object buttonHeightResource = TryFindResource(
SystemParameters
.VerticalScrollBarButtonHeightKey);
619
double buttonHeight = buttonHeightResource is double ? (double)buttonHeightResource :
SystemParameters
.VerticalScrollBarButtonHeight;
626
object buttonWidthResource = TryFindResource(
SystemParameters
.HorizontalScrollBarButtonWidthKey);
627
double buttonWidth = buttonWidthResource is double ? (double)buttonWidthResource :
SystemParameters
.HorizontalScrollBarButtonWidth;
System\Windows\Controls\Stack.cs (3)
158
SetVerticalOffset(VerticalOffset -
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
173
SetVerticalOffset(VerticalOffset +
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
1056
get { return (
SystemParameters
.WheelScrollLines > 0); }
System\Windows\Controls\ToolTip.cs (2)
201
if (tt._parentPopup == null || !tt._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
520
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.ToolTipPopupAnimationKey);
System\Windows\Controls\VirtualizingStackPanel.cs (3)
300
int lines =
SystemParameters
.WheelScrollLines;
328
int lines =
SystemParameters
.WheelScrollLines;
11616
get { return (
SystemParameters
.WheelScrollLines > 0); }
System\windows\Documents\CaretElement.cs (2)
58
_systemCaretWidth =
SystemParameters
.CaretWidth;
282
newWidth =
SystemParameters
.CaretWidth;
System\windows\Documents\TextEditor.cs (1)
512
_mouseSelectionState.Timer.Interval = TimeSpan.FromMilliseconds(Math.Max(
SystemParameters
.MenuShowDelay, 200));
System\windows\Documents\TextEditorDragDrop.cs (2)
105
int minimumHorizontalDragDistance = (int)
SystemParameters
.MinimumHorizontalDragDistance;
106
int minimumVerticalDragDistance = (int)
SystemParameters
.MinimumVerticalDragDistance;
System\windows\Documents\TextEditorTyping.cs (1)
1862
SystemParameters
.MouseVanish &&
System\Windows\Input\KeyboardNavigation.cs (4)
262
return
SystemParameters
.KeyboardCues ? BooleanBoxes.TrueBox : value;
827
private static bool _alwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
861
fvs = FrameworkElement.FindResourceInternal(fe, fce: null,
SystemParameters
.FocusVisualStyleKey) as Style;
888
fvs = FrameworkElement.FindResourceInternal(fe: null, fce,
SystemParameters
.FocusVisualStyleKey) as Style;
System\Windows\Markup\XamlTypeMapper.cs (1)
2883
keyObject = typeof(
SystemParameters
);
System\Windows\Shell\WindowChromeWorker.cs (6)
309
templateFixupMargin.Top -=
SystemParameters
.WindowResizeBorderThickness.Top;
317
templateFixupMargin.Left -=
SystemParameters
.WindowResizeBorderThickness.Left;
325
templateFixupMargin.Bottom -=
SystemParameters
.WindowResizeBorderThickness.Bottom;
333
templateFixupMargin.Right -=
SystemParameters
.WindowResizeBorderThickness.Right;
410
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
971
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\SystemColors.cs (16)
1372
if (
SystemParameters
.HighContrast)
1393
if (
SystemParameters
.HighContrast)
1409
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1415
if (
SystemParameters
.HighContrast)
1430
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1436
if (
SystemParameters
.HighContrast)
1451
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1457
if (
SystemParameters
.HighContrast)
1472
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1478
if (
SystemParameters
.HighContrast)
1493
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1499
if (
SystemParameters
.HighContrast)
1514
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1520
if (
SystemParameters
.HighContrast)
1535
/// When <see cref="
SystemParameters
.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>.
1541
if (
SystemParameters
.HighContrast)
System\Windows\SystemFonts.cs (37)
24
return ConvertFontHeight(
SystemParameters
.IconMetrics.lfFont.lfHeight);
37
_iconFontFamily = new FontFamily(
SystemParameters
.IconMetrics.lfFont.lfFaceName);
51
return (
SystemParameters
.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
62
return FontWeight.FromOpenTypeWeight(
SystemParameters
.IconMetrics.lfFont.lfWeight);
77
if (
SystemParameters
.IconMetrics.lfFont.lfUnderline != 0)
82
if (
SystemParameters
.IconMetrics.lfFont.lfStrikeOut != 0)
101
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfHeight);
115
_captionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfFaceName);
130
return (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
142
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfWeight);
158
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfUnderline != 0)
163
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfStrikeOut != 0)
181
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfHeight);
195
_smallCaptionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfFaceName);
210
return (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
222
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfWeight);
238
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfUnderline != 0)
243
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfStrikeOut != 0)
262
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfHeight);
275
_menuFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMenuFont.lfFaceName);
289
return (
SystemParameters
.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
300
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfWeight);
315
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfUnderline != 0)
320
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfStrikeOut != 0)
338
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfHeight);
352
_statusFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfStatusFont.lfFaceName);
367
return (
SystemParameters
.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
379
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfWeight);
396
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfUnderline!= 0)
401
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfStrikeOut != 0)
419
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfHeight);
448
_messageFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMessageFont.lfFaceName);
463
return (
SystemParameters
.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
474
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfWeight);
489
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfUnderline != 0)
494
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfStrikeOut != 0)
1014
int dpi =
SystemParameters
.Dpi;
System\Windows\SystemKeyConverter.cs (1)
179
return typeof(
SystemParameters
);
System\Windows\SystemParameters.cs (63)
2298
_thinHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXBORDER));
2319
_thinVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYBORDER));
2339
_cursorWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXCURSOR));
2359
_cursorHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCURSOR));
2379
_thickHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXEDGE));
2399
_thickVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYEDGE));
2419
_minimumHorizontalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXDRAG));
2439
_minimumVerticalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYDRAG));
2459
_fixedFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFIXEDFRAME));
2479
_fixedFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFIXEDFRAME));
2499
_focusHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFOCUSBORDER));
2519
_focusVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFOCUSBORDER));
2543
_fullPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFULLSCREEN));
2566
_fullPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFULLSCREEN));
2586
_horizontalScrollBarButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHSCROLL));
2606
_horizontalScrollBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYHSCROLL));
2626
_horizontalScrollBarThumbWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHTHUMB));
2646
_iconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICON));
2666
_iconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICON));
2686
_iconGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICONSPACING));
2706
_iconGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICONSPACING));
2729
_maximizedPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXIMIZED));
2752
_maximizedPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXIMIZED));
2775
_maximumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXTRACK));
2798
_maximumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXTRACK));
2818
_menuCheckmarkWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUCHECK));
2838
_menuCheckmarkHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUCHECK));
2858
_menuButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUSIZE));
2878
_menuButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUSIZE));
2901
_minimumWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMIN));
2924
_minimumWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMIN));
2947
_minimizedWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINIMIZED));
2970
_minimizedWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINIMIZED));
2990
_minimizedGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINSPACING));
3010
_minimizedGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINSPACING));
3033
_minimumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINTRACK));
3056
_minimumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINTRACK));
3076
_primaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSCREEN));
3097
_primaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSCREEN));
3120
_windowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZE));
3140
_windowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZE));
3161
_resizeFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZEFRAME));
3181
_resizeFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZEFRAME));
3201
_smallIconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMICON));
3221
_smallIconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMICON));
3241
_smallWindowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMSIZE));
3261
_smallWindowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMSIZE));
3284
_virtualScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVIRTUALSCREEN));
3307
_virtualScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVIRTUALSCREEN));
3328
_verticalScrollBarWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVSCROLL));
3348
_verticalScrollBarButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVSCROLL));
3371
_windowCaptionHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCAPTION));
3395
_kanjiWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYKANJIWINDOW));
3418
_menuBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENU));
3438
_verticalScrollBarThumbHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVTHUMB));
3752
_virtualScreenLeft =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.XVIRTUALSCREEN));
3775
_virtualScreenTop =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.YVIRTUALSCREEN));
5703
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
5728
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
5730
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)
1247
System.Windows.Input.KeyboardNavigation.AlwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
1327
if (
SystemParameters
.InvalidateDeviceDependentCache())
1339
if (
SystemParameters
.InvalidateDisplayDependentCache())
1350
SystemParameters
.InvalidatePowerDependentCache())
1359
SystemParameters
.InvalidateCache();
1360
SystemParameters
.InvalidateDerivedThemeRelatedProperties();
1381
if (
SystemParameters
.InvalidateCache((int)wParam))
1392
SystemParameters
.InvalidateWindowFrameThicknessProperties();
1410
SystemParameters
.InvalidateIsGlassEnabled();
1414
SystemParameters
.InvalidateWindowGlassColorizationProperties();
System\Windows\ThemeManager.cs (2)
173
if (
SystemParameters
.HighContrast)
293
if (
SystemParameters
.HighContrast)
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
867
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679
return
SystemParameters
.PowerLineStatus == PowerLineStatus.Online &&
680
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
402
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
810
return
SystemParameters
.ClientAreaAnimation &&
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
867
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679
return
SystemParameters
.PowerLineStatus == PowerLineStatus.Online &&
680
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
402
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
810
return
SystemParameters
.ClientAreaAnimation &&
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
186
(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures &&
SystemParameters
.HighContrast)
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
126
if (!
SystemParameters
.HighContrast)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (3)
212
get { return (
SystemParameters
.WheelScrollLines > 0); }
719
SetVerticalOffset(VerticalOffset -
SystemParameters
.WheelScrollLines * internalScrollDelta);
734
SetVerticalOffset(VerticalOffset +
SystemParameters
.WheelScrollLines * internalScrollDelta);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
235
if (!
SystemParameters
.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
54
Size size = new Size(
SystemParameters
.SmallIconWidth,
SystemParameters
.SmallIconHeight);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
581
if (newValueSource > BaseValueSource.Inherited && !
SystemParameters
.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
178
if (
SystemParameters
.HighContrast || !popup.IsOpen)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1176
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay + CloseSubmenuTimerDelayBuffer);
1180
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay);