450 references to SystemParameters
Microsoft.VisualStudio.LanguageServices (6)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
63ParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E)); 64RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 65DisabledParameterBackground = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3)); 66DisabledParameterForeground = SystemParameters.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5)); 67Members.Background = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 68StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
PresentationFramework (422)
MS\Internal\Documents\DocumentGrid.cs (4)
3082return _verticalLineScrollAmount * SystemParameters.WheelScrollLines; 3088get { return _canVerticallyScroll && SystemParameters.WheelScrollLines > 0; } 3102return _horizontalLineScrollAmount * SystemParameters.WheelScrollLines; 3108get { return _canHorizontallyScroll && SystemParameters.WheelScrollLines > 0; }
MS\Internal\Ink\HighContrastHelper.cs (1)
191bool isHighContrast = SystemParameters.HighContrast;
MS\Internal\Ink\PenCursorManager.cs (2)
343double maxLength = Math.Min(SystemParameters.PrimaryScreenWidth / 2, SystemParameters.PrimaryScreenHeight / 2);
MS\Win32\UxThemeWrapper.cs (2)
128_themeState = new ThemeState(!SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null); 182bool isActive = !SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive();
System\Windows\Controls\ComboBox.cs (1)
84new FrameworkPropertyMetadata(SystemParameters.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged));
System\Windows\Controls\ContextMenu.cs (2)
249if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !SystemParameters.DropShadow) 499_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey);
System\Windows\Controls\InkCanvas.cs (1)
186if ( SystemParameters.HighContrast )
System\Windows\Controls\InkPresenter.cs (1)
45if ( SystemParameters.HighContrast )
System\Windows\Controls\MenuItem.cs (1)
2577timer.Interval = TimeSpan.FromMilliseconds(SystemParameters.MenuShowDelay);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
638return DoubleUtil.GreaterThan(Math.Abs(currentPos.X - originalPos.X), SystemParameters.MinimumHorizontalDragDistance);
System\Windows\Controls\Primitives\Popup.cs (2)
849return BooleanBoxes.Box(SystemParameters.DropShadow && ((Popup)d).AllowsTransparency); 2506bool dropFromRight = SystemParameters.MenuDropAlignment;
System\Windows\Controls\Primitives\RepeatButton.cs (2)
156int delay = SystemParameters.KeyboardDelay; 171int speed = SystemParameters.KeyboardSpeed;
System\Windows\Controls\Primitives\Track.cs (4)
618object buttonHeightResource = TryFindResource(SystemParameters.VerticalScrollBarButtonHeightKey); 619double buttonHeight = buttonHeightResource is double ? (double)buttonHeightResource : SystemParameters.VerticalScrollBarButtonHeight; 626object buttonWidthResource = TryFindResource(SystemParameters.HorizontalScrollBarButtonWidthKey); 627double buttonWidth = buttonWidthResource is double ? (double)buttonWidthResource : SystemParameters.HorizontalScrollBarButtonWidth;
System\Windows\Controls\Stack.cs (3)
158SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 173SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 1056get { return (SystemParameters.WheelScrollLines > 0); }
System\Windows\Controls\ToolTip.cs (2)
201if (tt._parentPopup == null || !tt._parentPopup.AllowsTransparency || !SystemParameters.DropShadow) 520_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.ToolTipPopupAnimationKey);
System\Windows\Controls\VirtualizingStackPanel.cs (3)
300int lines = SystemParameters.WheelScrollLines; 328int lines = SystemParameters.WheelScrollLines; 11616get { return (SystemParameters.WheelScrollLines > 0); }
System\windows\Documents\CaretElement.cs (2)
58_systemCaretWidth = SystemParameters.CaretWidth; 282newWidth = 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)
105int minimumHorizontalDragDistance = (int)SystemParameters.MinimumHorizontalDragDistance; 106int minimumVerticalDragDistance = (int)SystemParameters.MinimumVerticalDragDistance;
System\windows\Documents\TextEditorTyping.cs (1)
1862SystemParameters.MouseVanish &&
System\Windows\Input\KeyboardNavigation.cs (4)
262return SystemParameters.KeyboardCues ? BooleanBoxes.TrueBox : value; 827private static bool _alwaysShowFocusVisual = SystemParameters.KeyboardCues; 861fvs = FrameworkElement.FindResourceInternal(fe, fce: null, SystemParameters.FocusVisualStyleKey) as Style; 888fvs = FrameworkElement.FindResourceInternal(fe: null, fce, SystemParameters.FocusVisualStyleKey) as Style;
System\Windows\Markup\XamlTypeMapper.cs (1)
2883keyObject = typeof(SystemParameters);
System\Windows\Shell\WindowChromeWorker.cs (6)
309templateFixupMargin.Top -= SystemParameters.WindowResizeBorderThickness.Top; 317templateFixupMargin.Left -= SystemParameters.WindowResizeBorderThickness.Left; 325templateFixupMargin.Bottom -= SystemParameters.WindowResizeBorderThickness.Bottom; 333templateFixupMargin.Right -= SystemParameters.WindowResizeBorderThickness.Right; 410Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 971Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\SystemColors.cs (16)
1372if (SystemParameters.HighContrast) 1393if (SystemParameters.HighContrast) 1409/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1415if (SystemParameters.HighContrast) 1430/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1436if (SystemParameters.HighContrast) 1451/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1457if (SystemParameters.HighContrast) 1472/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1478if (SystemParameters.HighContrast) 1493/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1499if (SystemParameters.HighContrast) 1514/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1520if (SystemParameters.HighContrast) 1535/// When <see cref="SystemParameters.HighContrast"/> is <see langword="true" />, this property returns <see cref="SystemColors.HighlightTextBrush"/>. 1541if (SystemParameters.HighContrast)
System\Windows\SystemFonts.cs (37)
24return ConvertFontHeight(SystemParameters.IconMetrics.lfFont.lfHeight); 37_iconFontFamily = new FontFamily(SystemParameters.IconMetrics.lfFont.lfFaceName); 51return (SystemParameters.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 62return FontWeight.FromOpenTypeWeight(SystemParameters.IconMetrics.lfFont.lfWeight); 77if (SystemParameters.IconMetrics.lfFont.lfUnderline != 0) 82if (SystemParameters.IconMetrics.lfFont.lfStrikeOut != 0) 101return ConvertFontHeight(SystemParameters.NonClientMetrics.lfCaptionFont.lfHeight); 115_captionFontFamily = new FontFamily(SystemParameters.NonClientMetrics.lfCaptionFont.lfFaceName); 130return (SystemParameters.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 142return FontWeight.FromOpenTypeWeight(SystemParameters.NonClientMetrics.lfCaptionFont.lfWeight); 158if (SystemParameters.NonClientMetrics.lfCaptionFont.lfUnderline != 0) 163if (SystemParameters.NonClientMetrics.lfCaptionFont.lfStrikeOut != 0) 181return ConvertFontHeight(SystemParameters.NonClientMetrics.lfSmCaptionFont.lfHeight); 195_smallCaptionFontFamily = new FontFamily(SystemParameters.NonClientMetrics.lfSmCaptionFont.lfFaceName); 210return (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 222return FontWeight.FromOpenTypeWeight(SystemParameters.NonClientMetrics.lfSmCaptionFont.lfWeight); 238if (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfUnderline != 0) 243if (SystemParameters.NonClientMetrics.lfSmCaptionFont.lfStrikeOut != 0) 262return ConvertFontHeight(SystemParameters.NonClientMetrics.lfMenuFont.lfHeight); 275_menuFontFamily = new FontFamily(SystemParameters.NonClientMetrics.lfMenuFont.lfFaceName); 289return (SystemParameters.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 300return FontWeight.FromOpenTypeWeight(SystemParameters.NonClientMetrics.lfMenuFont.lfWeight); 315if (SystemParameters.NonClientMetrics.lfMenuFont.lfUnderline != 0) 320if (SystemParameters.NonClientMetrics.lfMenuFont.lfStrikeOut != 0) 338return ConvertFontHeight(SystemParameters.NonClientMetrics.lfStatusFont.lfHeight); 352_statusFontFamily = new FontFamily(SystemParameters.NonClientMetrics.lfStatusFont.lfFaceName); 367return (SystemParameters.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 379return FontWeight.FromOpenTypeWeight(SystemParameters.NonClientMetrics.lfStatusFont.lfWeight); 396if (SystemParameters.NonClientMetrics.lfStatusFont.lfUnderline!= 0) 401if (SystemParameters.NonClientMetrics.lfStatusFont.lfStrikeOut != 0) 419return ConvertFontHeight(SystemParameters.NonClientMetrics.lfMessageFont.lfHeight); 448_messageFontFamily = new FontFamily(SystemParameters.NonClientMetrics.lfMessageFont.lfFaceName); 463return (SystemParameters.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal; 474return FontWeight.FromOpenTypeWeight(SystemParameters.NonClientMetrics.lfMessageFont.lfWeight); 489if (SystemParameters.NonClientMetrics.lfMessageFont.lfUnderline != 0) 494if (SystemParameters.NonClientMetrics.lfMessageFont.lfStrikeOut != 0) 1014int dpi = SystemParameters.Dpi;
System\Windows\SystemKeyConverter.cs (1)
179return 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)); 5703Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize, SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0); 5728Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize, SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0); 5730double 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)
1247System.Windows.Input.KeyboardNavigation.AlwaysShowFocusVisual = SystemParameters.KeyboardCues; 1327if (SystemParameters.InvalidateDeviceDependentCache()) 1339if (SystemParameters.InvalidateDisplayDependentCache()) 1350SystemParameters.InvalidatePowerDependentCache()) 1359SystemParameters.InvalidateCache(); 1360SystemParameters.InvalidateDerivedThemeRelatedProperties(); 1381if (SystemParameters.InvalidateCache((int)wParam)) 1392SystemParameters.InvalidateWindowFrameThicknessProperties(); 1410SystemParameters.InvalidateIsGlassEnabled(); 1414SystemParameters.InvalidateWindowGlassColorizationProperties();
System\Windows\ThemeManager.cs (2)
173if ( SystemParameters.HighContrast) 293if (SystemParameters.HighContrast)
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
867return SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679return SystemParameters.PowerLineStatus == PowerLineStatus.Online && 680SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
402return SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
810return SystemParameters.ClientAreaAnimation &&
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
867return SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
679return SystemParameters.PowerLineStatus == PowerLineStatus.Online && 680SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
402return SystemParameters.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
810return 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)
126if (!SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (3)
212get { return (SystemParameters.WheelScrollLines > 0); } 719SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * internalScrollDelta); 734SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * internalScrollDelta);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
235if (!SystemParameters.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
54Size size = new Size(SystemParameters.SmallIconWidth, SystemParameters.SmallIconHeight);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
581if (newValueSource > BaseValueSource.Inherited && !SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
178if (SystemParameters.HighContrast || !popup.IsOpen)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1176timer.Interval = TimeSpan.FromMilliseconds(SystemParameters.MenuShowDelay + CloseSubmenuTimerDelayBuffer); 1180timer.Interval = TimeSpan.FromMilliseconds(SystemParameters.MenuShowDelay);