src\Framework\System\Windows\Shell\WindowChromeWorker.cs (34)
734private HT _GetHTFromResizeGripDirection(ResizeGripDirection direction)
740return HT.BOTTOM;
742return compliment ? HT.BOTTOMRIGHT : HT.BOTTOMLEFT;
744return compliment ? HT.BOTTOMLEFT : HT.BOTTOMRIGHT;
746return compliment ? HT.RIGHT : HT.LEFT;
748return compliment ? HT.LEFT : HT.RIGHT;
750return HT.TOP;
752return compliment ? HT.TOPRIGHT : HT.TOPLEFT;
754return compliment ? HT.TOPLEFT : HT.TOPRIGHT;
756return HT.NOWHERE;
785return new IntPtr((int)HT.CLIENT);
813HT ht = _HitTestNca(
829if (HT.CAPTION == (HT)wParam.ToInt32())
1437private static readonly HT[,] _HitTestBorders = new[,]
1439{ HT.TOPLEFT, HT.TOP, HT.TOPRIGHT },
1440{ HT.LEFT, HT.CLIENT, HT.RIGHT },
1441{ HT.BOTTOMLEFT, HT.BOTTOM, HT.BOTTOMRIGHT },
1444private HT _HitTestNca(Rect windowPosition, Point mousePosition)
1479HT ht = _HitTestBorders[uRow, uCol];
1481if (ht == HT.TOP && !onResizeBorder)
1483ht = HT.CAPTION;