Implemented interface member:
property
ViewportWidth
System.Windows.Controls.Primitives.IScrollInfo.ViewportWidth
17 references to ViewportWidth
PresentationFramework (17)
MS\Internal\Documents\DocumentGrid.cs (16)
185
SetHorizontalOffsetInternal(HorizontalOffset -
ViewportWidth
);
193
SetHorizontalOffsetInternal(HorizontalOffset +
ViewportWidth
);
577
/// Valid values are inclusively between 0 and <see cref="ExtentWidth" /> less <see cref="
ViewportWidth
" />.
584
double clippedHorizontalOffset = Math.Min(_horizontalOffset, ExtentWidth -
ViewportWidth
);
1224
pageOffset = new Point(Math.Max(
ViewportWidth
, ExtentWidth) - (xOffset + pageSize.Width), yOffset);
1606
double centerWidth = Math.Max(
ViewportWidth
, ExtentWidth);
1854
ViewportWidth
,
1862
SetHorizontalOffsetInternal(translatedRect.X - (
ViewportWidth
/ 2.0));
1878
ViewportWidth
,
1890
else if (r.X > HorizontalOffset +
ViewportWidth
)
1892
SetHorizontalOffsetInternal(HorizontalOffset + (r.X - (HorizontalOffset +
ViewportWidth
)));
2224
double viewportAspect =
ViewportWidth
/ ViewportHeight;
2229
(int)Math.Floor(
ViewportWidth
/
2411
compensatedViewportWidth =
ViewportWidth
- pivotRow.PageCount * HorizontalPageSpacing;
2415
compensatedViewportWidth =
ViewportWidth
- MaxPagesAcross * HorizontalPageSpacing;
3063
return (
ViewportWidth
!= 0.0 && ViewportHeight != 0.0);
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
109
uiScopeMouseDownPoint = new Point(.5 * documentGrid.
ViewportWidth
, .5 * documentGrid.ViewportHeight);