14 references to Tolerance
PresentationFramework (14)
System\Windows\Controls\Primitives\Popup.cs (12)
2107if (score - bestScore > Tolerance) 2118if (Math.Abs(score - childArea) < Tolerance) 2144if (Math.Abs(intersection.Width - childBounds.Width) > Tolerance || 2145Math.Abs(intersection.Height - childBounds.Height) > Tolerance) 2159if (!IsTransparent || double.IsNaN(horizontalAxis.Y) || Math.Abs(horizontalAxis.Y) < Tolerance) 2171else if (IsTransparent && Math.Abs(horizontalAxis.X) < Tolerance) 2194if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance) 2205else if (IsTransparent && Math.Abs(verticalAxis.Y) < Tolerance) 2260if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance) 2264else if (IsTransparent && Math.Abs(verticalAxis.Y) < Tolerance) 2282if (!IsTransparent || double.IsNaN(horizontalAxis.X) || Math.Abs(horizontalAxis.Y) < Tolerance) 2286else if (IsTransparent && Math.Abs(horizontalAxis.X) < Tolerance)
System\Windows\Controls\Primitives\PopupRoot.cs (2)
218restrictWidth = Math.Abs(restrictedSize.Width - desiredSize.Width) > Popup.Tolerance; 219restrictHeight = Math.Abs(restrictedSize.Height - desiredSize.Height) > Popup.Tolerance;