14 references to Tolerance
PresentationFramework (14)
System\Windows\Controls\Primitives\Popup.cs (12)
2098
if (score - bestScore >
Tolerance
)
2109
if (Math.Abs(score - childArea) <
Tolerance
)
2135
if (Math.Abs(intersection.Width - childBounds.Width) >
Tolerance
||
2136
Math.Abs(intersection.Height - childBounds.Height) >
Tolerance
)
2150
if (!IsTransparent || double.IsNaN(horizontalAxis.Y) || Math.Abs(horizontalAxis.Y) <
Tolerance
)
2162
else if (IsTransparent && Math.Abs(horizontalAxis.X) <
Tolerance
)
2185
if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) <
Tolerance
)
2196
else if (IsTransparent && Math.Abs(verticalAxis.Y) <
Tolerance
)
2251
if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) <
Tolerance
)
2255
else if (IsTransparent && Math.Abs(verticalAxis.Y) <
Tolerance
)
2273
if (!IsTransparent || double.IsNaN(horizontalAxis.X) || Math.Abs(horizontalAxis.Y) <
Tolerance
)
2277
else if (IsTransparent && Math.Abs(horizontalAxis.X) <
Tolerance
)
System\Windows\Controls\Primitives\PopupRoot.cs (2)
227
restrictWidth = Math.Abs(restrictedSize.Width - desiredSize.Width) > Popup.
Tolerance
;
228
restrictHeight = Math.Abs(restrictedSize.Height - desiredSize.Height) > Popup.
Tolerance
;