Implemented interface member:
property
ViewportWidth
System.Windows.Controls.Primitives.IScrollInfo.ViewportWidth
17 references to ViewportWidth
PresentationFramework (17)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (16)
192
SetHorizontalOffsetInternal(HorizontalOffset -
ViewportWidth
);
200
SetHorizontalOffsetInternal(HorizontalOffset +
ViewportWidth
);
596
/// Valid values are inclusively between 0 and <see cref="ExtentWidth" /> less <see cref="
ViewportWidth
" />.
603
double clippedHorizontalOffset = Math.Min(_horizontalOffset, ExtentWidth -
ViewportWidth
);
1248
pageOffset = new Point(Math.Max(
ViewportWidth
, ExtentWidth) - (xOffset + pageSize.Width), yOffset);
1636
double centerWidth = Math.Max(
ViewportWidth
, ExtentWidth);
1893
ViewportWidth
,
1901
SetHorizontalOffsetInternal(translatedRect.X - (
ViewportWidth
/ 2.0));
1917
ViewportWidth
,
1929
else if (r.X > HorizontalOffset +
ViewportWidth
)
1931
SetHorizontalOffsetInternal(HorizontalOffset + (r.X - (HorizontalOffset +
ViewportWidth
)));
2264
double viewportAspect =
ViewportWidth
/ ViewportHeight;
2269
(int)Math.Floor(
ViewportWidth
/
2453
compensatedViewportWidth =
ViewportWidth
- pivotRow.PageCount * HorizontalPageSpacing;
2457
compensatedViewportWidth =
ViewportWidth
- MaxPagesAcross * HorizontalPageSpacing;
3115
return (
ViewportWidth
!= 0.0 && ViewportHeight != 0.0);
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (1)
126
uiScopeMouseDownPoint = new Point(.5 * documentGrid.
ViewportWidth
, .5 * documentGrid.ViewportHeight);