14 references to Tolerance
PresentationFramework (14)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (12)
2103
if (score - bestScore >
Tolerance
)
2114
if (Math.Abs(score - childArea) <
Tolerance
)
2140
if (Math.Abs(intersection.Width - childBounds.Width) >
Tolerance
||
2141
Math.Abs(intersection.Height - childBounds.Height) >
Tolerance
)
2156
if (!IsTransparent || double.IsNaN(horizontalAxis.Y) || Math.Abs(horizontalAxis.Y) <
Tolerance
)
2168
else if (IsTransparent && Math.Abs(horizontalAxis.X) <
Tolerance
)
2191
if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) <
Tolerance
)
2202
else if (IsTransparent && Math.Abs(verticalAxis.Y) <
Tolerance
)
2257
if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) <
Tolerance
)
2261
else if (IsTransparent && Math.Abs(verticalAxis.Y) <
Tolerance
)
2279
if (!IsTransparent || double.IsNaN(horizontalAxis.X) || Math.Abs(horizontalAxis.Y) <
Tolerance
)
2283
else if (IsTransparent && Math.Abs(horizontalAxis.X) <
Tolerance
)
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (2)
223
restrictWidth = Math.Abs(restrictedSize.Width - desiredSize.Width) > Popup.
Tolerance
;
224
restrictHeight = Math.Abs(restrictedSize.Height - desiredSize.Height) > Popup.
Tolerance
;