33 references to RelativeMousePositions
PresentationFramework (33)
System\Windows\Controls\DataGrid.cs (33)
1758RelativeMousePositions position = RelativeMousePosition; 1759if (position != RelativeMousePositions.Over) 6263RelativeMousePositions position = RelativeMousePosition; 6264if (position == RelativeMousePositions.Over) 6414Debug.Assert(RelativeMousePosition != RelativeMousePositions.Over, "The mouse is not supposed to be over the DataGrid."); 6652private RelativeMousePositions RelativeMousePosition 6656RelativeMousePositions position = RelativeMousePositions.Over; 6666position |= RelativeMousePositions.Left; 6670position |= RelativeMousePositions.Right; 6675position |= RelativeMousePositions.Above; 6679position |= RelativeMousePositions.Below; 6687private static bool IsMouseToLeft(RelativeMousePositions position) 6689return (position & RelativeMousePositions.Left) == RelativeMousePositions.Left; 6692private static bool IsMouseToRight(RelativeMousePositions position) 6694return (position & RelativeMousePositions.Right) == RelativeMousePositions.Right; 6697private static bool IsMouseAbove(RelativeMousePositions position) 6699return (position & RelativeMousePositions.Above) == RelativeMousePositions.Above; 6702private static bool IsMouseBelow(RelativeMousePositions position) 6704return (position & RelativeMousePositions.Below) == RelativeMousePositions.Below; 6707private static bool IsMouseToLeftOrRightOnly(RelativeMousePositions position) 6709return (position == RelativeMousePositions.Left) || (position == RelativeMousePositions.Right); 6712private static bool IsMouseInCorner(RelativeMousePositions position) 6714return (position != RelativeMousePositions.Over) && 6715(position != RelativeMousePositions.Above) && 6716(position != RelativeMousePositions.Below) && 6717(position != RelativeMousePositions.Left) && 6718(position != RelativeMousePositions.Right);