33 references to RelativeMousePositions
PresentationFramework (33)
System\Windows\Controls\DataGrid.cs (33)
1761
RelativeMousePositions
position = RelativeMousePosition;
1762
if (position !=
RelativeMousePositions
.Over)
6266
RelativeMousePositions
position = RelativeMousePosition;
6267
if (position ==
RelativeMousePositions
.Over)
6417
Debug.Assert(RelativeMousePosition !=
RelativeMousePositions
.Over, "The mouse is not supposed to be over the DataGrid.");
6655
private
RelativeMousePositions
RelativeMousePosition
6659
RelativeMousePositions
position =
RelativeMousePositions
.Over;
6669
position |=
RelativeMousePositions
.Left;
6673
position |=
RelativeMousePositions
.Right;
6678
position |=
RelativeMousePositions
.Above;
6682
position |=
RelativeMousePositions
.Below;
6690
private static bool IsMouseToLeft(
RelativeMousePositions
position)
6692
return (position &
RelativeMousePositions
.Left) ==
RelativeMousePositions
.Left;
6695
private static bool IsMouseToRight(
RelativeMousePositions
position)
6697
return (position &
RelativeMousePositions
.Right) ==
RelativeMousePositions
.Right;
6700
private static bool IsMouseAbove(
RelativeMousePositions
position)
6702
return (position &
RelativeMousePositions
.Above) ==
RelativeMousePositions
.Above;
6705
private static bool IsMouseBelow(
RelativeMousePositions
position)
6707
return (position &
RelativeMousePositions
.Below) ==
RelativeMousePositions
.Below;
6710
private static bool IsMouseToLeftOrRightOnly(
RelativeMousePositions
position)
6712
return (position ==
RelativeMousePositions
.Left) || (position ==
RelativeMousePositions
.Right);
6715
private static bool IsMouseInCorner(
RelativeMousePositions
position)
6717
return (position !=
RelativeMousePositions
.Over) &&
6718
(position !=
RelativeMousePositions
.Above) &&
6719
(position !=
RelativeMousePositions
.Below) &&
6720
(position !=
RelativeMousePositions
.Left) &&
6721
(position !=
RelativeMousePositions
.Right);