427 references to SystemParameters
PresentationFramework (416)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (4)
646
SetResourceReference(StyleProperty,
SystemParameters
.NavigationChromeDownLevelStyleKey);
652
SetValue(DefaultStyleKeyProperty,
SystemParameters
.NavigationChromeDownLevelStyleKey);
656
SetResourceReference(StyleProperty,
SystemParameters
.NavigationChromeStyleKey);
662
SetValue(DefaultStyleKeyProperty,
SystemParameters
.NavigationChromeStyleKey);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (4)
3148
return _verticalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3154
get { return _canVerticallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
3168
return _horizontalLineScrollAmount *
SystemParameters
.WheelScrollLines;
3174
get { return _canHorizontallyScroll &&
SystemParameters
.WheelScrollLines > 0; }
src\Framework\MS\Internal\Ink\HighContrastHelper.cs (1)
201
bool isHighContrast =
SystemParameters
.HighContrast;
src\Framework\MS\Internal\Ink\PenCursorManager.cs (2)
372
double maxLength = Math.Min(
SystemParameters
.PrimaryScreenWidth / 2,
SystemParameters
.PrimaryScreenHeight / 2);
src\Framework\MS\Win32\UxThemeWrapper.cs (2)
131
_themeState = new ThemeState(!
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null);
185
bool isActive = !
SystemParameters
.HighContrast && SafeNativeMethods.IsUxThemeActive();
src\Framework\System\Windows\Controls\ComboBox.cs (1)
95
new FrameworkPropertyMetadata(
SystemParameters
.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged));
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
261
if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
510
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.MenuPopupAnimationKey);
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
199
if (
SystemParameters
.HighContrast )
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
60
if (
SystemParameters
.HighContrast )
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2649
timer.Interval = TimeSpan.FromMilliseconds(
SystemParameters
.MenuShowDelay);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
649
return DoubleUtil.GreaterThan(Math.Abs(currentPos.X - originalPos.X),
SystemParameters
.MinimumHorizontalDragDistance);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
858
return BooleanBoxes.Box(
SystemParameters
.DropShadow && ((Popup)d).AllowsTransparency);
2506
bool dropFromRight =
SystemParameters
.MenuDropAlignment;
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (2)
168
int delay =
SystemParameters
.KeyboardDelay;
183
int speed =
SystemParameters
.KeyboardSpeed;
src\Framework\System\Windows\Controls\Primitives\Track.cs (4)
637
object buttonHeightResource = TryFindResource(
SystemParameters
.VerticalScrollBarButtonHeightKey);
638
double buttonHeight = buttonHeightResource is double ? (double)buttonHeightResource :
SystemParameters
.VerticalScrollBarButtonHeight;
645
object buttonWidthResource = TryFindResource(
SystemParameters
.HorizontalScrollBarButtonWidthKey);
646
double buttonWidth = buttonWidthResource is double ? (double)buttonWidthResource :
SystemParameters
.HorizontalScrollBarButtonWidth;
src\Framework\System\Windows\Controls\Stack.cs (3)
170
SetVerticalOffset(VerticalOffset -
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
185
SetVerticalOffset(VerticalOffset +
SystemParameters
.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta));
1072
get { return (
SystemParameters
.WheelScrollLines > 0); }
src\Framework\System\Windows\Controls\ToolTip.cs (2)
225
if (tt._parentPopup == null || !tt._parentPopup.AllowsTransparency || !
SystemParameters
.DropShadow)
526
_parentPopup.SetResourceReference(Popup.PopupAnimationProperty,
SystemParameters
.ToolTipPopupAnimationKey);
src\Framework\System\Windows\Controls\ToolTipService.cs (1)
470
new FrameworkPropertyMetadata(
SystemParameters
.MouseHoverTimeMilliseconds), // Default Value
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
306
int lines =
SystemParameters
.WheelScrollLines;
334
int lines =
SystemParameters
.WheelScrollLines;
11505
get { return (
SystemParameters
.WheelScrollLines > 0); }
src\Framework\System\windows\Documents\CaretElement.cs (2)
67
_systemCaretWidth =
SystemParameters
.CaretWidth;
289
newWidth =
SystemParameters
.CaretWidth;
src\Framework\System\windows\Documents\TextEditor.cs (1)
539
_mouseSelectionState.Timer.Interval = TimeSpan.FromMilliseconds(Math.Max(
SystemParameters
.MenuShowDelay, 200));
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (2)
125
int minimumHorizontalDragDistance = (int)
SystemParameters
.MinimumHorizontalDragDistance;
126
int minimumVerticalDragDistance = (int)
SystemParameters
.MinimumVerticalDragDistance;
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1913
SystemParameters
.MouseVanish &&
src\Framework\System\Windows\Input\KeyboardNavigation.cs (4)
284
return
SystemParameters
.KeyboardCues ? BooleanBoxes.TrueBox : value;
889
private static bool _alwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
924
fvs = SystemResources.FindResourceInternal(
SystemParameters
.FocusVisualStyleKey) as Style;
951
fvs = SystemResources.FindResourceInternal(
SystemParameters
.FocusVisualStyleKey) as Style;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3107
keyObject = typeof(
SystemParameters
);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (11)
408
templateFixupMargin.Top -=
SystemParameters
.WindowResizeBorderThickness.Top;
416
templateFixupMargin.Left -=
SystemParameters
.WindowResizeBorderThickness.Left;
424
templateFixupMargin.Bottom -=
SystemParameters
.WindowResizeBorderThickness.Bottom;
432
templateFixupMargin.Right -=
SystemParameters
.WindowResizeBorderThickness.Right;
451
templateFixupMargin.Right -=
SystemParameters
.WindowResizeBorderThickness.Left;
460
templateFixupMargin.Right -=
SystemParameters
.WindowResizeBorderThickness.Right;
469
templateFixupMargin.Bottom -=
SystemParameters
.WindowResizeBorderThickness.Top;
478
templateFixupMargin.Bottom -=
SystemParameters
.WindowResizeBorderThickness.Bottom;
485
templateFixupMargin.Bottom -=
SystemParameters
.WindowCaptionHeight;
692
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
1394
Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(
SystemParameters
.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY);
src\Framework\System\Windows\SystemColors.cs (2)
1180
if (
SystemParameters
.HighContrast)
1201
if (
SystemParameters
.HighContrast)
src\Framework\System\Windows\SystemFonts.cs (37)
29
return ConvertFontHeight(
SystemParameters
.IconMetrics.lfFont.lfHeight);
42
_iconFontFamily = new FontFamily(
SystemParameters
.IconMetrics.lfFont.lfFaceName);
56
return (
SystemParameters
.IconMetrics.lfFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
67
return FontWeight.FromOpenTypeWeight(
SystemParameters
.IconMetrics.lfFont.lfWeight);
82
if (
SystemParameters
.IconMetrics.lfFont.lfUnderline != 0)
87
if (
SystemParameters
.IconMetrics.lfFont.lfStrikeOut != 0)
106
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfHeight);
120
_captionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfFaceName);
135
return (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
147
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfCaptionFont.lfWeight);
163
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfUnderline != 0)
168
if (
SystemParameters
.NonClientMetrics.lfCaptionFont.lfStrikeOut != 0)
186
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfHeight);
200
_smallCaptionFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfFaceName);
215
return (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
227
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfWeight);
243
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfUnderline != 0)
248
if (
SystemParameters
.NonClientMetrics.lfSmCaptionFont.lfStrikeOut != 0)
267
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfHeight);
280
_menuFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMenuFont.lfFaceName);
294
return (
SystemParameters
.NonClientMetrics.lfMenuFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
305
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMenuFont.lfWeight);
320
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfUnderline != 0)
325
if (
SystemParameters
.NonClientMetrics.lfMenuFont.lfStrikeOut != 0)
343
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfHeight);
357
_statusFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfStatusFont.lfFaceName);
372
return (
SystemParameters
.NonClientMetrics.lfStatusFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
384
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfStatusFont.lfWeight);
401
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfUnderline!= 0)
406
if (
SystemParameters
.NonClientMetrics.lfStatusFont.lfStrikeOut != 0)
424
return ConvertFontHeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfHeight);
438
_messageFontFamily = new FontFamily(
SystemParameters
.NonClientMetrics.lfMessageFont.lfFaceName);
453
return (
SystemParameters
.NonClientMetrics.lfMessageFont.lfItalic != 0) ? FontStyles.Italic : FontStyles.Normal;
464
return FontWeight.FromOpenTypeWeight(
SystemParameters
.NonClientMetrics.lfMessageFont.lfWeight);
479
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfUnderline != 0)
484
if (
SystemParameters
.NonClientMetrics.lfMessageFont.lfStrikeOut != 0)
1004
int dpi =
SystemParameters
.Dpi;
src\Framework\System\Windows\SystemKeyConverter.cs (1)
190
return typeof(
SystemParameters
);
src\Framework\System\Windows\SystemParameters.cs (63)
2506
_thinHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXBORDER));
2532
_thinVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYBORDER));
2557
_cursorWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXCURSOR));
2582
_cursorHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCURSOR));
2607
_thickHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXEDGE));
2632
_thickVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYEDGE));
2657
_minimumHorizontalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXDRAG));
2682
_minimumVerticalDragDistance =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYDRAG));
2707
_fixedFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFIXEDFRAME));
2732
_fixedFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFIXEDFRAME));
2757
_focusHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFOCUSBORDER));
2782
_focusVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFOCUSBORDER));
2812
_fullPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXFULLSCREEN));
2841
_fullPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYFULLSCREEN));
2866
_horizontalScrollBarButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHSCROLL));
2891
_horizontalScrollBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYHSCROLL));
2916
_horizontalScrollBarThumbWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXHTHUMB));
2941
_iconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICON));
2966
_iconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICON));
2991
_iconGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXICONSPACING));
3016
_iconGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYICONSPACING));
3045
_maximizedPrimaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXIMIZED));
3074
_maximizedPrimaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXIMIZED));
3103
_maximumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXTRACK));
3132
_maximumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXTRACK));
3157
_menuCheckmarkWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUCHECK));
3182
_menuCheckmarkHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUCHECK));
3207
_menuButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUSIZE));
3232
_menuButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUSIZE));
3261
_minimumWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMIN));
3290
_minimumWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMIN));
3319
_minimizedWindowWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINIMIZED));
3348
_minimizedWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINIMIZED));
3373
_minimizedGridWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINSPACING));
3398
_minimizedGridHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINSPACING));
3427
_minimumWindowTrackWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINTRACK));
3456
_minimumWindowTrackHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINTRACK));
3481
_primaryScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSCREEN));
3507
_primaryScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSCREEN));
3536
_windowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZE));
3561
_windowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZE));
3587
_resizeFrameHorizontalBorderHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZEFRAME));
3612
_resizeFrameVerticalBorderWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZEFRAME));
3637
_smallIconWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMICON));
3662
_smallIconHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMICON));
3687
_smallWindowCaptionButtonWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMSIZE));
3712
_smallWindowCaptionButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMSIZE));
3741
_virtualScreenWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVIRTUALSCREEN));
3770
_virtualScreenHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVIRTUALSCREEN));
3796
_verticalScrollBarWidth =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CXVSCROLL));
3821
_verticalScrollBarButtonHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVSCROLL));
3850
_windowCaptionHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYCAPTION));
3880
_kanjiWindowHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYKANJIWINDOW));
3909
_menuBarHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENU));
3934
_verticalScrollBarThumbHeight =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.CYVTHUMB));
4329
_virtualScreenLeft =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.XVIRTUALSCREEN));
4358
_virtualScreenTop =
SystemParameters
.ConvertPixel(UnsafeNativeMethods.GetSystemMetrics(SM.YVIRTUALSCREEN));
6324
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
6353
Size frameSizeInDips = Standard.DpiHelper.DeviceSizeToLogical(frameSize,
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0);
6355
double captionHeightInDips = Standard.DpiHelper.DevicePixelsToLogical(new Point(0, captionHeight),
SystemParameters
.DpiX / 96.0,
SystemParameters
.Dpi / 96.0).Y;
src\Framework\System\Windows\SystemResourceKey.cs (244)
636
return
SystemParameters
.ThinHorizontalBorderHeight;
639
return
SystemParameters
.ThinVerticalBorderWidth;
642
return
SystemParameters
.CursorWidth;
645
return
SystemParameters
.CursorHeight;
648
return
SystemParameters
.ThickHorizontalBorderHeight;
651
return
SystemParameters
.ThickVerticalBorderWidth;
654
return
SystemParameters
.FixedFrameHorizontalBorderHeight;
657
return
SystemParameters
.FixedFrameVerticalBorderWidth;
660
return
SystemParameters
.FocusHorizontalBorderHeight;
663
return
SystemParameters
.FocusVerticalBorderWidth;
666
return
SystemParameters
.FullPrimaryScreenWidth;
669
return
SystemParameters
.FullPrimaryScreenHeight;
672
return
SystemParameters
.HorizontalScrollBarButtonWidth;
675
return
SystemParameters
.HorizontalScrollBarHeight;
678
return
SystemParameters
.HorizontalScrollBarThumbWidth;
681
return
SystemParameters
.IconWidth;
684
return
SystemParameters
.IconHeight;
687
return
SystemParameters
.IconGridWidth;
690
return
SystemParameters
.IconGridHeight;
693
return
SystemParameters
.MaximizedPrimaryScreenWidth;
696
return
SystemParameters
.MaximizedPrimaryScreenHeight;
699
return
SystemParameters
.MaximumWindowTrackWidth;
702
return
SystemParameters
.MaximumWindowTrackHeight;
705
return
SystemParameters
.MenuCheckmarkWidth;
708
return
SystemParameters
.MenuCheckmarkHeight;
711
return
SystemParameters
.MenuButtonWidth;
714
return
SystemParameters
.MenuButtonHeight;
717
return
SystemParameters
.MinimumWindowWidth;
720
return
SystemParameters
.MinimumWindowHeight;
723
return
SystemParameters
.MinimizedWindowWidth;
726
return
SystemParameters
.MinimizedWindowHeight;
729
return
SystemParameters
.MinimizedGridWidth;
732
return
SystemParameters
.MinimizedGridHeight;
735
return
SystemParameters
.MinimumWindowTrackWidth;
738
return
SystemParameters
.MinimumWindowTrackHeight;
741
return
SystemParameters
.PrimaryScreenWidth;
744
return
SystemParameters
.PrimaryScreenHeight;
747
return
SystemParameters
.WindowCaptionButtonWidth;
750
return
SystemParameters
.WindowCaptionButtonHeight;
753
return
SystemParameters
.ResizeFrameHorizontalBorderHeight;
756
return
SystemParameters
.ResizeFrameVerticalBorderWidth;
759
return
SystemParameters
.SmallIconWidth;
762
return
SystemParameters
.SmallIconHeight;
765
return
SystemParameters
.SmallWindowCaptionButtonWidth;
768
return
SystemParameters
.SmallWindowCaptionButtonHeight;
771
return
SystemParameters
.VirtualScreenWidth;
774
return
SystemParameters
.VirtualScreenHeight;
777
return
SystemParameters
.VerticalScrollBarWidth;
780
return
SystemParameters
.VerticalScrollBarButtonHeight;
783
return
SystemParameters
.WindowCaptionHeight;
786
return
SystemParameters
.KanjiWindowHeight;
789
return
SystemParameters
.MenuBarHeight;
792
return
SystemParameters
.SmallCaptionHeight;
795
return
SystemParameters
.VerticalScrollBarThumbHeight;
798
return BooleanBoxes.Box(
SystemParameters
.IsImmEnabled);
801
return BooleanBoxes.Box(
SystemParameters
.IsMediaCenter);
804
return BooleanBoxes.Box(
SystemParameters
.IsMenuDropRightAligned);
807
return BooleanBoxes.Box(
SystemParameters
.IsMiddleEastEnabled);
810
return BooleanBoxes.Box(
SystemParameters
.IsMousePresent);
813
return BooleanBoxes.Box(
SystemParameters
.IsMouseWheelPresent);
816
return BooleanBoxes.Box(
SystemParameters
.IsPenWindows);
819
return BooleanBoxes.Box(
SystemParameters
.IsRemotelyControlled);
822
return BooleanBoxes.Box(
SystemParameters
.IsRemoteSession);
825
return BooleanBoxes.Box(
SystemParameters
.ShowSounds);
828
return BooleanBoxes.Box(
SystemParameters
.IsSlowMachine);
831
return BooleanBoxes.Box(
SystemParameters
.SwapButtons);
834
return BooleanBoxes.Box(
SystemParameters
.IsTabletPC);
837
return
SystemParameters
.VirtualScreenLeft;
840
return
SystemParameters
.VirtualScreenTop;
843
return
SystemParameters
.FocusBorderWidth;
846
return
SystemParameters
.FocusBorderHeight;
849
return BooleanBoxes.Box(
SystemParameters
.HighContrast);
852
return BooleanBoxes.Box(
SystemParameters
.DropShadow);
855
return BooleanBoxes.Box(
SystemParameters
.FlatMenu);
858
return
SystemParameters
.WorkArea;
861
return
SystemParameters
.IconHorizontalSpacing;
864
return
SystemParameters
.IconVerticalSpacing;
867
return
SystemParameters
.IconTitleWrap;
885
return BooleanBoxes.Box(
SystemParameters
.KeyboardCues);
888
return
SystemParameters
.KeyboardDelay;
891
return BooleanBoxes.Box(
SystemParameters
.KeyboardPreference);
894
return
SystemParameters
.KeyboardSpeed;
897
return BooleanBoxes.Box(
SystemParameters
.SnapToDefaultButton);
900
return
SystemParameters
.WheelScrollLines;
903
return
SystemParameters
.MouseHoverTime;
906
return
SystemParameters
.MouseHoverHeight;
909
return
SystemParameters
.MouseHoverWidth;
912
return BooleanBoxes.Box(
SystemParameters
.MenuDropAlignment);
915
return BooleanBoxes.Box(
SystemParameters
.MenuFade);
918
return
SystemParameters
.MenuShowDelay;
921
return BooleanBoxes.Box(
SystemParameters
.ComboBoxAnimation);
924
return BooleanBoxes.Box(
SystemParameters
.ClientAreaAnimation);
927
return BooleanBoxes.Box(
SystemParameters
.CursorShadow);
930
return BooleanBoxes.Box(
SystemParameters
.GradientCaptions);
933
return BooleanBoxes.Box(
SystemParameters
.HotTracking);
936
return BooleanBoxes.Box(
SystemParameters
.ListBoxSmoothScrolling);
939
return BooleanBoxes.Box(
SystemParameters
.MenuAnimation);
942
return BooleanBoxes.Box(
SystemParameters
.SelectionFade);
945
return BooleanBoxes.Box(
SystemParameters
.StylusHotTracking);
948
return BooleanBoxes.Box(
SystemParameters
.ToolTipAnimation);
951
return BooleanBoxes.Box(
SystemParameters
.ToolTipFade);
954
return BooleanBoxes.Box(
SystemParameters
.UIEffects);
957
return BooleanBoxes.Box(
SystemParameters
.MinimizeAnimation);
960
return
SystemParameters
.Border;
963
return
SystemParameters
.CaretWidth;
966
return
SystemParameters
.ForegroundFlashCount;
969
return BooleanBoxes.Box(
SystemParameters
.DragFullWindows);
972
return
SystemParameters
.BorderWidth;
975
return
SystemParameters
.ScrollWidth;
978
return
SystemParameters
.ScrollHeight;
981
return
SystemParameters
.CaptionWidth;
984
return
SystemParameters
.CaptionHeight;
987
return
SystemParameters
.SmallCaptionWidth;
990
return
SystemParameters
.MenuWidth;
993
return
SystemParameters
.MenuHeight;
1071
return
SystemParameters
.ComboBoxPopupAnimation;
1074
return
SystemParameters
.MenuPopupAnimation;
1077
return
SystemParameters
.ToolTipPopupAnimation;
1080
return
SystemParameters
.PowerLineStatus;
1278
return
SystemParameters
.ThinHorizontalBorderHeightKey;
1281
return
SystemParameters
.ThinVerticalBorderWidthKey;
1284
return
SystemParameters
.CursorWidthKey;
1287
return
SystemParameters
.CursorHeightKey;
1290
return
SystemParameters
.ThickHorizontalBorderHeightKey;
1293
return
SystemParameters
.ThickVerticalBorderWidthKey;
1296
return
SystemParameters
.FixedFrameHorizontalBorderHeightKey;
1299
return
SystemParameters
.FixedFrameVerticalBorderWidthKey;
1302
return
SystemParameters
.FocusHorizontalBorderHeightKey;
1305
return
SystemParameters
.FocusVerticalBorderWidthKey;
1308
return
SystemParameters
.FullPrimaryScreenWidthKey;
1311
return
SystemParameters
.FullPrimaryScreenHeightKey;
1314
return
SystemParameters
.HorizontalScrollBarButtonWidthKey;
1317
return
SystemParameters
.HorizontalScrollBarHeightKey;
1320
return
SystemParameters
.HorizontalScrollBarThumbWidthKey;
1323
return
SystemParameters
.IconWidthKey;
1326
return
SystemParameters
.IconHeightKey;
1329
return
SystemParameters
.IconGridWidthKey;
1332
return
SystemParameters
.IconGridHeightKey;
1335
return
SystemParameters
.MaximizedPrimaryScreenWidthKey;
1338
return
SystemParameters
.MaximizedPrimaryScreenHeightKey;
1341
return
SystemParameters
.MaximumWindowTrackWidthKey;
1344
return
SystemParameters
.MaximumWindowTrackHeightKey;
1347
return
SystemParameters
.MenuCheckmarkWidthKey;
1350
return
SystemParameters
.MenuCheckmarkHeightKey;
1353
return
SystemParameters
.MenuButtonWidthKey;
1356
return
SystemParameters
.MenuButtonHeightKey;
1359
return
SystemParameters
.MinimumWindowWidthKey;
1362
return
SystemParameters
.MinimumWindowHeightKey;
1365
return
SystemParameters
.MinimizedWindowWidthKey;
1368
return
SystemParameters
.MinimizedWindowHeightKey;
1371
return
SystemParameters
.MinimizedGridWidthKey;
1374
return
SystemParameters
.MinimizedGridHeightKey;
1377
return
SystemParameters
.MinimumWindowTrackWidthKey;
1380
return
SystemParameters
.MinimumWindowTrackHeightKey;
1383
return
SystemParameters
.PrimaryScreenWidthKey;
1386
return
SystemParameters
.PrimaryScreenHeightKey;
1389
return
SystemParameters
.WindowCaptionButtonWidthKey;
1392
return
SystemParameters
.WindowCaptionButtonHeightKey;
1395
return
SystemParameters
.ResizeFrameHorizontalBorderHeightKey;
1398
return
SystemParameters
.ResizeFrameVerticalBorderWidthKey;
1401
return
SystemParameters
.SmallIconWidthKey;
1404
return
SystemParameters
.SmallIconHeightKey;
1407
return
SystemParameters
.SmallWindowCaptionButtonWidthKey;
1410
return
SystemParameters
.SmallWindowCaptionButtonHeightKey;
1413
return
SystemParameters
.VirtualScreenWidthKey;
1416
return
SystemParameters
.VirtualScreenHeightKey;
1419
return
SystemParameters
.VerticalScrollBarWidthKey;
1422
return
SystemParameters
.VerticalScrollBarButtonHeightKey;
1425
return
SystemParameters
.WindowCaptionHeightKey;
1428
return
SystemParameters
.KanjiWindowHeightKey;
1431
return
SystemParameters
.MenuBarHeightKey;
1434
return
SystemParameters
.SmallCaptionHeightKey;
1437
return
SystemParameters
.VerticalScrollBarThumbHeightKey;
1440
return
SystemParameters
.IsImmEnabledKey;
1443
return
SystemParameters
.IsMediaCenterKey;
1446
return
SystemParameters
.IsMenuDropRightAlignedKey;
1449
return
SystemParameters
.IsMiddleEastEnabledKey;
1452
return
SystemParameters
.IsMousePresentKey;
1455
return
SystemParameters
.IsMouseWheelPresentKey;
1458
return
SystemParameters
.IsPenWindowsKey;
1461
return
SystemParameters
.IsRemotelyControlledKey;
1464
return
SystemParameters
.IsRemoteSessionKey;
1467
return
SystemParameters
.ShowSoundsKey;
1470
return
SystemParameters
.IsSlowMachineKey;
1473
return
SystemParameters
.SwapButtonsKey;
1476
return
SystemParameters
.IsTabletPCKey;
1479
return
SystemParameters
.VirtualScreenLeftKey;
1482
return
SystemParameters
.VirtualScreenTopKey;
1485
return
SystemParameters
.FocusBorderWidthKey;
1488
return
SystemParameters
.FocusBorderHeightKey;
1491
return
SystemParameters
.HighContrastKey;
1494
return
SystemParameters
.DropShadowKey;
1497
return
SystemParameters
.FlatMenuKey;
1500
return
SystemParameters
.WorkAreaKey;
1503
return
SystemParameters
.IconHorizontalSpacingKey;
1506
return
SystemParameters
.IconVerticalSpacingKey;
1509
return
SystemParameters
.IconTitleWrapKey;
1527
return
SystemParameters
.KeyboardCuesKey;
1530
return
SystemParameters
.KeyboardDelayKey;
1533
return
SystemParameters
.KeyboardPreferenceKey;
1536
return
SystemParameters
.KeyboardSpeedKey;
1539
return
SystemParameters
.SnapToDefaultButtonKey;
1542
return
SystemParameters
.WheelScrollLinesKey;
1545
return
SystemParameters
.MouseHoverTimeKey;
1548
return
SystemParameters
.MouseHoverHeightKey;
1551
return
SystemParameters
.MouseHoverWidthKey;
1554
return
SystemParameters
.MenuDropAlignmentKey;
1557
return
SystemParameters
.MenuFadeKey;
1560
return
SystemParameters
.MenuShowDelayKey;
1563
return
SystemParameters
.ComboBoxAnimationKey;
1566
return
SystemParameters
.ClientAreaAnimationKey;
1569
return
SystemParameters
.CursorShadowKey;
1572
return
SystemParameters
.GradientCaptionsKey;
1575
return
SystemParameters
.HotTrackingKey;
1578
return
SystemParameters
.ListBoxSmoothScrollingKey;
1581
return
SystemParameters
.MenuAnimationKey;
1584
return
SystemParameters
.SelectionFadeKey;
1587
return
SystemParameters
.StylusHotTrackingKey;
1590
return
SystemParameters
.ToolTipAnimationKey;
1593
return
SystemParameters
.ToolTipFadeKey;
1596
return
SystemParameters
.UIEffectsKey;
1599
return
SystemParameters
.MinimizeAnimationKey;
1602
return
SystemParameters
.BorderKey;
1605
return
SystemParameters
.CaretWidthKey;
1608
return
SystemParameters
.ForegroundFlashCountKey;
1611
return
SystemParameters
.DragFullWindowsKey;
1614
return
SystemParameters
.BorderWidthKey;
1617
return
SystemParameters
.ScrollWidthKey;
1620
return
SystemParameters
.ScrollHeightKey;
1623
return
SystemParameters
.CaptionWidthKey;
1626
return
SystemParameters
.CaptionHeightKey;
1629
return
SystemParameters
.SmallCaptionWidthKey;
1632
return
SystemParameters
.MenuWidthKey;
1635
return
SystemParameters
.MenuHeightKey;
1713
return
SystemParameters
.ComboBoxPopupAnimationKey;
1716
return
SystemParameters
.MenuPopupAnimationKey;
1719
return
SystemParameters
.ToolTipPopupAnimationKey;
1722
return
SystemParameters
.FocusVisualStyleKey;
1725
return
SystemParameters
.NavigationChromeDownLevelStyleKey;
1728
return
SystemParameters
.NavigationChromeStyleKey;
1770
return
SystemParameters
.PowerLineStatusKey;
1781
return
SystemParameters
.FocusVisualStyleKey;
1814
return
SystemParameters
.NavigationChromeStyleKey;
1817
return
SystemParameters
.NavigationChromeDownLevelStyleKey;
src\Framework\System\Windows\SystemResources.cs (10)
1328
System.Windows.Input.KeyboardNavigation.AlwaysShowFocusVisual =
SystemParameters
.KeyboardCues;
1427
if (
SystemParameters
.InvalidateDeviceDependentCache())
1439
if (
SystemParameters
.InvalidateDisplayDependentCache())
1450
SystemParameters
.InvalidatePowerDependentCache())
1459
SystemParameters
.InvalidateCache();
1460
SystemParameters
.InvalidateDerivedThemeRelatedProperties();
1481
if (
SystemParameters
.InvalidateCache((int)wParam))
1492
SystemParameters
.InvalidateWindowFrameThicknessProperties();
1505
SystemParameters
.InvalidateIsGlassEnabled();
1509
SystemParameters
.InvalidateWindowGlassColorizationProperties();
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\BulletChrome.cs (1)
865
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ButtonChrome.cs (2)
685
return
SystemParameters
.PowerLineStatus == PowerLineStatus.Online &&
686
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
415
return
SystemParameters
.ClientAreaAnimation &&
Microsoft\Windows\Themes\ScrollChrome.cs (1)
803
return
SystemParameters
.ClientAreaAnimation &&
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
192
(!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures &&
SystemParameters
.HighContrast)
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
126
if (!this.IsSelecting && (Math.Abs(positionToScreen.X - this.MouseDownPointToScreen.X) >
SystemParameters
.MinimumHorizontalDragDistance ||
127
Math.Abs(positionToScreen.Y - this.MouseDownPointToScreen.Y) >
SystemParameters
.MinimumVerticalDragDistance))
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (1)
167
if (
SystemParameters
.HighContrast)
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
759
if (Math.Abs(difference.X) >
SystemParameters
.MinimumHorizontalDragDistance ||
760
Math.Abs(difference.Y) >
SystemParameters
.MinimumVerticalDragDistance)