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