1 write to _documentScrollInfo
PresentationFramework (1)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2111_documentScrollInfo = new DocumentGrid();
81 references to _documentScrollInfo
PresentationFramework (81)
src\Framework\System\Windows\Controls\DocumentViewer.cs (81)
152if (_documentScrollInfo != null) 154_documentScrollInfo.FitColumns(pagesAcross); 945_documentScrollInfo.MakeVisible(element, rect, zeroIndexed); 955if (_documentScrollInfo != null) 957_documentScrollInfo.ScrollToPreviousRow(); 967if (_documentScrollInfo != null) 969_documentScrollInfo.ScrollToNextRow(); 979if (_documentScrollInfo != null) 981_documentScrollInfo.MakePageVisible( 0 ); 991if (_documentScrollInfo != null) 993_documentScrollInfo.MakePageVisible( PageCount - 1 ); 1007if (_documentScrollInfo != null) 1011_documentScrollInfo.MakePageVisible(pageNumber - 1); 1021if (_documentScrollInfo != null) 1023_documentScrollInfo.ViewThumbnails(); 1032if (_documentScrollInfo != null) 1034_documentScrollInfo.FitToPageWidth(); 1043if (_documentScrollInfo != null) 1045_documentScrollInfo.FitToPageHeight(); 1054if (_documentScrollInfo != null) 1056_documentScrollInfo.FitColumns(MaxPagesAcross); 1068if (_documentScrollInfo != null) 1070_documentScrollInfo.FitColumns(pagesAcross); 1105if (_documentScrollInfo != null) 1107_documentScrollInfo.PageUp(); 1116if (_documentScrollInfo != null) 1118_documentScrollInfo.PageDown(); 1127if (_documentScrollInfo != null) 1129_documentScrollInfo.PageLeft(); 1138if (_documentScrollInfo != null) 1140_documentScrollInfo.PageRight(); 1149if (_documentScrollInfo != null) 1151_documentScrollInfo.LineUp(); 1160if (_documentScrollInfo != null) 1162_documentScrollInfo.LineDown(); 1171if (_documentScrollInfo != null) 1173_documentScrollInfo.LineLeft(); 1182if (_documentScrollInfo != null) 1184_documentScrollInfo.LineRight(); 1258if (_documentScrollInfo != null && _documentScrollInfo.PageViews != null) 1261pageViews = _documentScrollInfo.PageViews; 1342SetValue(ExtentWidthPropertyKey, _documentScrollInfo.ExtentWidth); 1343SetValue(ExtentHeightPropertyKey, _documentScrollInfo.ExtentHeight); 1344SetValue(ViewportWidthPropertyKey, _documentScrollInfo.ViewportWidth); 1345SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight); 1347if (HorizontalOffset != _documentScrollInfo.HorizontalOffset) 1349HorizontalOffset = _documentScrollInfo.HorizontalOffset; 1352if (VerticalOffset != _documentScrollInfo.VerticalOffset) 1354VerticalOffset = _documentScrollInfo.VerticalOffset; 1358SetValue(MasterPageNumberPropertyKey, _documentScrollInfo.FirstVisiblePageNumber + 1); 1361double scrollZoom = ScaleToZoom(_documentScrollInfo.Scale); 1367if (MaxPagesAcross != _documentScrollInfo.MaxPagesAcross) 1369MaxPagesAcross = _documentScrollInfo.MaxPagesAcross; 1397FrameworkElement grid = _documentScrollInfo as FrameworkElement; 1466return _documentScrollInfo; 2108if (_documentScrollInfo == null) 2112_documentScrollInfo.DocumentViewerOwner = this; 2116FrameworkElement fe = _documentScrollInfo as FrameworkElement; 2134_documentScrollInfo.VerticalPageSpacing = VerticalPageSpacing; 2135_documentScrollInfo.HorizontalPageSpacing = HorizontalPageSpacing; 2143_documentScrollInfo.Content = (Document != null) ? Document.DocumentPaginator as DynamicDocumentPaginator : null; 2172Invariant.Assert(_documentScrollInfo != null, "IDocumentScrollInfo cannot be null."); 2174_scrollViewer.Content = _documentScrollInfo; 2175_scrollViewer.ScrollInfo = _documentScrollInfo; 2178if (_documentScrollInfo.Content != Document) 2253if (_documentScrollInfo != null) 2255_documentScrollInfo.MakeSelectionVisible(); 2478if (!dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2480dv._documentScrollInfo.SetHorizontalOffset(newOffset); 2498if ( !dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2500dv._documentScrollInfo.SetVerticalOffset(newOffset); 2550if (dv._documentScrollInfo != null) 2552dv._documentScrollInfo.ShowPageBorders = (bool) e.NewValue; 2582if (dv._documentScrollInfo != null) 2591dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2635dv._documentScrollInfo.SetColumns((int) e.NewValue); 2660if (dv._documentScrollInfo != null) 2662dv._documentScrollInfo.VerticalPageSpacing = (double) e.NewValue; 2676if (dv._documentScrollInfo != null) 2678dv._documentScrollInfo.HorizontalPageSpacing = (double) e.NewValue;