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