Implemented interface member:
property
ViewportWidth
System.Windows.Controls.Primitives.IScrollInfo.ViewportWidth
17 references to ViewportWidth
PresentationFramework (17)
MS\Internal\Documents\DocumentGrid.cs (16)
178
SetHorizontalOffsetInternal(HorizontalOffset -
ViewportWidth
);
186
SetHorizontalOffsetInternal(HorizontalOffset +
ViewportWidth
);
570
/// Valid values are inclusively between 0 and <see cref="ExtentWidth" /> less <see cref="
ViewportWidth
" />.
577
double clippedHorizontalOffset = Math.Min(_horizontalOffset, ExtentWidth -
ViewportWidth
);
1217
pageOffset = new Point(Math.Max(
ViewportWidth
, ExtentWidth) - (xOffset + pageSize.Width), yOffset);
1601
double centerWidth = Math.Max(
ViewportWidth
, ExtentWidth);
1850
ViewportWidth
,
1858
SetHorizontalOffsetInternal(translatedRect.X - (
ViewportWidth
/ 2.0));
1874
ViewportWidth
,
1886
else if (r.X > HorizontalOffset +
ViewportWidth
)
1888
SetHorizontalOffsetInternal(HorizontalOffset + (r.X - (HorizontalOffset +
ViewportWidth
)));
2220
double viewportAspect =
ViewportWidth
/ ViewportHeight;
2225
(int)Math.Floor(
ViewportWidth
/
2407
compensatedViewportWidth =
ViewportWidth
- pivotRow.PageCount * HorizontalPageSpacing;
2411
compensatedViewportWidth =
ViewportWidth
- MaxPagesAcross * HorizontalPageSpacing;
3061
return (
ViewportWidth
!= 0.0 && ViewportHeight != 0.0);
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
103
uiScopeMouseDownPoint = new Point(.5 * documentGrid.
ViewportWidth
, .5 * documentGrid.ViewportHeight);