35 references to BPTop
PresentationFramework (35)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (3)
954
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
1069
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
1242
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (7)
552
fsrcToFillSubtrack.v += marginTop + mbp.
BPTop
;
553
fsrcToFillSubtrack.dv -= marginTop + mbp.
BPTop
;
585
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrSubTrackTopSpace;
707
vrSubtrack = vrTrack + (marginTop + mbp.
BPTop
);
753
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrSubTrackTopSpace;
844
vrSubtrack = vrTrack + (marginTop + mbp.
BPTop
);
890
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrSubTrackTopSpace;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
105
_contentRect.v = _rect.v + mbp.
BPTop
;
106
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.
BPTop
);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
180
int subpageHeight = Math.Max(1, TextDpi.ToTextDpi(anchorLimitedHeight) - (mbp.
BPTop
+ mbp.BPBottom));
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
231
_contentRect.v = _rect.v + mbp.
BPTop
;
232
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.
BPTop
);
src\Framework\MS\Internal\PtsHost\MarginCollapsingState.cs (1)
57
if (mbp.
BPTop
!= 0)
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
153
rowprops.dvrAboveTopRow = mbpInfo.
BPTop
+ cellSpacing / 2;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
117
_contentRect.v = _rect.v + mbp.
BPTop
;
118
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.
BPTop
);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (7)
204
subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.
BPTop
));
265
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
266
dvrUsed += (marginTop + mbp.
BPTop
);
471
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
472
dvrUsed += (marginTop + mbp.
BPTop
) + (marginBottom + mbp.BPBottom);
639
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
640
dvrUsed += (marginTop + mbp.
BPTop
) + (marginBottom + mbp.BPBottom);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
172
vrRowTop -= mbp.
BPTop
;
1924
dvAdjustment = -mbpInfo.
BPTop
;
2542
int calculatedBPTop = IsFirstChunk ? mbpInfo.
BPTop
: 0;
2559
return IsFirstChunk ? mbp.
BPTop
: 0;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
136
uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.
BPTop
).FromTextDpi();
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (4)
223
fsbbox.fsrc.dv = mbp.
BPTop
+ mbp.BPBottom;
316
fsbbox.fsrc.dv = mbp.
BPTop
+ mbp.BPBottom;
413
fsbbox.fsrc.dv = TextDpi.ToTextDpi(elementHeight) + mbp.
BPTop
+ mbp.BPBottom;
440
fsbbox.fsrc.dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.
BPTop
+ mbp.BPBottom;