11 references to LayoutBox
PresentationFramework (11)
src\Framework\System\Windows\Documents\FixedPageStructure.cs (11)
167
double absVerDistance = Math.Max(0, (pt.Y > lineResult.
LayoutBox
.Y) ? (pt.Y - lineResult.
LayoutBox
.Bottom) : (lineResult.
LayoutBox
.Y - pt.Y));
168
double absHorDistance = Math.Max(0, (pt.X > lineResult.
LayoutBox
.X) ? (pt.X - lineResult.
LayoutBox
.Right) : (lineResult.
LayoutBox
.X - pt.X));
184
if (manhattan < minManhattan && absVerDistance < lineResult.
LayoutBox
.Height)
194
if (closestManhattan != null && (closestManhattan.
LayoutBox
.Left > closestLine.
LayoutBox
.Right || closestLine.
LayoutBox
.Left > closestManhattan.
LayoutBox
.Right))