1 write to _documentScrollInfo
PresentationFramework (1)
System\Windows\Controls\DocumentViewer.cs (1)
2002_documentScrollInfo = new DocumentGrid
58 references to _documentScrollInfo
PresentationFramework (58)
System\Windows\Controls\DocumentViewer.cs (58)
125_documentScrollInfo?.FitColumns(pagesAcross); 906_documentScrollInfo.MakeVisible(element, rect, zeroIndexed); 916_documentScrollInfo?.ScrollToPreviousRow(); 925_documentScrollInfo?.ScrollToNextRow(); 934_documentScrollInfo?.MakePageVisible( 0 ); 943_documentScrollInfo?.MakePageVisible( PageCount - 1 ); 956if (_documentScrollInfo != null) 960_documentScrollInfo.MakePageVisible(pageNumber - 1); 970_documentScrollInfo?.ViewThumbnails(); 978_documentScrollInfo?.FitToPageWidth(); 986_documentScrollInfo?.FitToPageHeight(); 994_documentScrollInfo?.FitColumns(MaxPagesAcross); 1005_documentScrollInfo?.FitColumns(pagesAcross); 1039_documentScrollInfo?.PageUp(); 1047_documentScrollInfo?.PageDown(); 1055_documentScrollInfo?.PageLeft(); 1063_documentScrollInfo?.PageRight(); 1071_documentScrollInfo?.LineUp(); 1079_documentScrollInfo?.LineDown(); 1087_documentScrollInfo?.LineLeft(); 1095_documentScrollInfo?.LineRight(); 1168if (_documentScrollInfo != null && _documentScrollInfo.PageViews != null) 1171pageViews = _documentScrollInfo.PageViews; 1252SetValue(ExtentWidthPropertyKey, _documentScrollInfo.ExtentWidth); 1253SetValue(ExtentHeightPropertyKey, _documentScrollInfo.ExtentHeight); 1254SetValue(ViewportWidthPropertyKey, _documentScrollInfo.ViewportWidth); 1255SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight); 1257if (HorizontalOffset != _documentScrollInfo.HorizontalOffset) 1259HorizontalOffset = _documentScrollInfo.HorizontalOffset; 1262if (VerticalOffset != _documentScrollInfo.VerticalOffset) 1264VerticalOffset = _documentScrollInfo.VerticalOffset; 1268SetValue(MasterPageNumberPropertyKey, _documentScrollInfo.FirstVisiblePageNumber + 1); 1271double scrollZoom = ScaleToZoom(_documentScrollInfo.Scale); 1277if (MaxPagesAcross != _documentScrollInfo.MaxPagesAcross) 1279MaxPagesAcross = _documentScrollInfo.MaxPagesAcross; 1307FrameworkElement grid = _documentScrollInfo as FrameworkElement; 1376return _documentScrollInfo; 1999if (_documentScrollInfo == null) 2009FrameworkElement fe = _documentScrollInfo as FrameworkElement; 2027_documentScrollInfo.VerticalPageSpacing = VerticalPageSpacing; 2028_documentScrollInfo.HorizontalPageSpacing = HorizontalPageSpacing; 2036_documentScrollInfo.Content = (Document != null) ? Document.DocumentPaginator as DynamicDocumentPaginator : null; 2065Invariant.Assert(_documentScrollInfo != null, "IDocumentScrollInfo cannot be null."); 2067_scrollViewer.Content = _documentScrollInfo; 2068_scrollViewer.ScrollInfo = _documentScrollInfo; 2071if (_documentScrollInfo.Content != Document) 2136_documentScrollInfo?.MakeSelectionVisible(); 2338if (!dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2340dv._documentScrollInfo.SetHorizontalOffset(newOffset); 2358if ( !dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2360dv._documentScrollInfo.SetVerticalOffset(newOffset); 2410dv._documentScrollInfo?.ShowPageBorders = (bool) e.NewValue; 2439if (dv._documentScrollInfo != null) 2448dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2492dv._documentScrollInfo.SetColumns((int) e.NewValue); 2516dv._documentScrollInfo?.VerticalPageSpacing = (double) e.NewValue; 2529dv._documentScrollInfo?.HorizontalPageSpacing = (double) e.NewValue;