1 write to _documentScrollInfo
PresentationFramework (1)
System\Windows\Controls\DocumentViewer.cs (1)
2006_documentScrollInfo = new DocumentGrid
61 references to _documentScrollInfo
PresentationFramework (61)
System\Windows\Controls\DocumentViewer.cs (61)
126_documentScrollInfo?.FitColumns(pagesAcross); 910_documentScrollInfo.MakeVisible(element, rect, zeroIndexed); 920_documentScrollInfo?.ScrollToPreviousRow(); 929_documentScrollInfo?.ScrollToNextRow(); 938_documentScrollInfo?.MakePageVisible( 0 ); 947_documentScrollInfo?.MakePageVisible( PageCount - 1 ); 960if (_documentScrollInfo != null) 964_documentScrollInfo.MakePageVisible(pageNumber - 1); 974_documentScrollInfo?.ViewThumbnails(); 982_documentScrollInfo?.FitToPageWidth(); 990_documentScrollInfo?.FitToPageHeight(); 998_documentScrollInfo?.FitColumns(MaxPagesAcross); 1009_documentScrollInfo?.FitColumns(pagesAcross); 1043_documentScrollInfo?.PageUp(); 1051_documentScrollInfo?.PageDown(); 1059_documentScrollInfo?.PageLeft(); 1067_documentScrollInfo?.PageRight(); 1075_documentScrollInfo?.LineUp(); 1083_documentScrollInfo?.LineDown(); 1091_documentScrollInfo?.LineLeft(); 1099_documentScrollInfo?.LineRight(); 1172if (_documentScrollInfo != null && _documentScrollInfo.PageViews != null) 1175pageViews = _documentScrollInfo.PageViews; 1256SetValue(ExtentWidthPropertyKey, _documentScrollInfo.ExtentWidth); 1257SetValue(ExtentHeightPropertyKey, _documentScrollInfo.ExtentHeight); 1258SetValue(ViewportWidthPropertyKey, _documentScrollInfo.ViewportWidth); 1259SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight); 1261if (HorizontalOffset != _documentScrollInfo.HorizontalOffset) 1263HorizontalOffset = _documentScrollInfo.HorizontalOffset; 1266if (VerticalOffset != _documentScrollInfo.VerticalOffset) 1268VerticalOffset = _documentScrollInfo.VerticalOffset; 1272SetValue(MasterPageNumberPropertyKey, _documentScrollInfo.FirstVisiblePageNumber + 1); 1275double scrollZoom = ScaleToZoom(_documentScrollInfo.Scale); 1281if (MaxPagesAcross != _documentScrollInfo.MaxPagesAcross) 1283MaxPagesAcross = _documentScrollInfo.MaxPagesAcross; 1311FrameworkElement grid = _documentScrollInfo as FrameworkElement; 1380return _documentScrollInfo; 2003if (_documentScrollInfo == null) 2013FrameworkElement fe = _documentScrollInfo as FrameworkElement; 2031_documentScrollInfo.VerticalPageSpacing = VerticalPageSpacing; 2032_documentScrollInfo.HorizontalPageSpacing = HorizontalPageSpacing; 2040_documentScrollInfo.Content = (Document != null) ? Document.DocumentPaginator as DynamicDocumentPaginator : null; 2069Invariant.Assert(_documentScrollInfo != null, "IDocumentScrollInfo cannot be null."); 2071_scrollViewer.Content = _documentScrollInfo; 2072_scrollViewer.ScrollInfo = _documentScrollInfo; 2075if (_documentScrollInfo.Content != Document) 2140_documentScrollInfo?.MakeSelectionVisible(); 2342if (!dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2344dv._documentScrollInfo.SetHorizontalOffset(newOffset); 2362if ( !dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2364dv._documentScrollInfo.SetVerticalOffset(newOffset); 2414if (dv._documentScrollInfo != null) 2416dv._documentScrollInfo.ShowPageBorders = (bool) e.NewValue; 2446if (dv._documentScrollInfo != null) 2455dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2499dv._documentScrollInfo.SetColumns((int) e.NewValue); 2523if (dv._documentScrollInfo != null) 2525dv._documentScrollInfo.VerticalPageSpacing = (double) e.NewValue; 2539if (dv._documentScrollInfo != null) 2541dv._documentScrollInfo.HorizontalPageSpacing = (double) e.NewValue;