13 references to LayoutBox
PresentationFramework (13)
System\Windows\Documents\FixedPageStructure.cs (13)
157double absVerDistance = Math.Max(0, (pt.Y > lineResult.LayoutBox.Y) ? (pt.Y - lineResult.LayoutBox.Bottom) : (lineResult.LayoutBox.Y - pt.Y)); 158double absHorDistance = Math.Max(0, (pt.X > lineResult.LayoutBox.X) ? (pt.X - lineResult.LayoutBox.Right) : (lineResult.LayoutBox.X - pt.X)); 174if (manhattan < minManhattan && absVerDistance < lineResult.LayoutBox.Height) 184if (closestManhattan != null && (closestManhattan.LayoutBox.Left > closestLine.LayoutBox.Right || closestLine.LayoutBox.Left > closestManhattan.LayoutBox.Right)) 226rect = _lineResults[line].LayoutBox; 648Rect layoutBox = lineResult.LayoutBox;