76 references to ConvertPixel
PresentationFramework (76)
System\Windows\SystemParameters.cs (76)
110
_focusBorderWidth =
ConvertPixel
(focusBorderWidth);
141
_focusBorderHeight =
ConvertPixel
(focusBorderHeight);
379
_workArea = new Rect(
ConvertPixel
(workArea.left),
ConvertPixel
(workArea.top),
ConvertPixel
(workArea.Width),
ConvertPixel
(workArea.Height));
479
return
ConvertPixel
(IconMetrics.iHorzSpacing);
490
return
ConvertPixel
(IconMetrics.iVertSpacing);
783
_mouseHoverHeight =
ConvertPixel
(mouseHoverHeight);
815
_mouseHoverWidth =
ConvertPixel
(mouseHoverWidth);
1977
return
ConvertPixel
(NonClientMetrics.iBorderWidth);
1988
return
ConvertPixel
(NonClientMetrics.iScrollWidth);
1999
return
ConvertPixel
(NonClientMetrics.iScrollHeight);
2010
return
ConvertPixel
(NonClientMetrics.iCaptionWidth);
2021
return
ConvertPixel
(NonClientMetrics.iCaptionHeight);
2032
return
ConvertPixel
(NonClientMetrics.iSmCaptionWidth);
2043
return
ConvertPixel
(NonClientMetrics.iSmCaptionHeight);
2054
return
ConvertPixel
(NonClientMetrics.iMenuWidth);
2065
return
ConvertPixel
(NonClientMetrics.iMenuHeight);
2297
_thinHorizontalBorderHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXBORDER));
2318
_thinVerticalBorderWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYBORDER));
2338
_cursorWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXCURSOR));
2358
_cursorHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYCURSOR));
2378
_thickHorizontalBorderHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXEDGE));
2398
_thickVerticalBorderWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYEDGE));
2418
_minimumHorizontalDragDistance = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXDRAG));
2438
_minimumVerticalDragDistance = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYDRAG));
2458
_fixedFrameHorizontalBorderHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXFIXEDFRAME));
2478
_fixedFrameVerticalBorderWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYFIXEDFRAME));
2498
_focusHorizontalBorderHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXFOCUSBORDER));
2518
_focusVerticalBorderWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYFOCUSBORDER));
2542
_fullPrimaryScreenWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXFULLSCREEN));
2565
_fullPrimaryScreenHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYFULLSCREEN));
2585
_horizontalScrollBarButtonWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXHSCROLL));
2605
_horizontalScrollBarHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYHSCROLL));
2625
_horizontalScrollBarThumbWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXHTHUMB));
2645
_iconWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXICON));
2665
_iconHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYICON));
2685
_iconGridWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXICONSPACING));
2705
_iconGridHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYICONSPACING));
2728
_maximizedPrimaryScreenWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXIMIZED));
2751
_maximizedPrimaryScreenHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXIMIZED));
2774
_maximumWindowTrackWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMAXTRACK));
2797
_maximumWindowTrackHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMAXTRACK));
2817
_menuCheckmarkWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUCHECK));
2837
_menuCheckmarkHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUCHECK));
2857
_menuButtonWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMENUSIZE));
2877
_menuButtonHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENUSIZE));
2900
_minimumWindowWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMIN));
2923
_minimumWindowHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMIN));
2946
_minimizedWindowWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINIMIZED));
2969
_minimizedWindowHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINIMIZED));
2989
_minimizedGridWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINSPACING));
3009
_minimizedGridHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINSPACING));
3032
_minimumWindowTrackWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXMINTRACK));
3055
_minimumWindowTrackHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMINTRACK));
3075
_primaryScreenWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXSCREEN));
3096
_primaryScreenHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYSCREEN));
3119
_windowCaptionButtonWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZE));
3139
_windowCaptionButtonHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZE));
3160
_resizeFrameHorizontalBorderHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXSIZEFRAME));
3180
_resizeFrameVerticalBorderWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYSIZEFRAME));
3200
_smallIconWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMICON));
3220
_smallIconHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMICON));
3240
_smallWindowCaptionButtonWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXSMSIZE));
3260
_smallWindowCaptionButtonHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYSMSIZE));
3283
_virtualScreenWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXVIRTUALSCREEN));
3306
_virtualScreenHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYVIRTUALSCREEN));
3327
_verticalScrollBarWidth = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CXVSCROLL));
3347
_verticalScrollBarButtonHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYVSCROLL));
3370
_windowCaptionHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYCAPTION));
3394
_kanjiWindowHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYKANJIWINDOW));
3417
_menuBarHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYMENU));
3437
_verticalScrollBarThumbHeight = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.CYVTHUMB));
3751
_virtualScreenLeft = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.XVIRTUALSCREEN));
3774
_virtualScreenTop = SystemParameters.
ConvertPixel
(UnsafeNativeMethods.GetSystemMetrics(SM.YVIRTUALSCREEN));