1 write to _documentScrollInfo
PresentationFramework (1)
System\Windows\Controls\DocumentViewer.cs (1)
2066_documentScrollInfo = new DocumentGrid();
81 references to _documentScrollInfo
PresentationFramework (81)
System\Windows\Controls\DocumentViewer.cs (81)
138if (_documentScrollInfo != null) 140_documentScrollInfo.FitColumns(pagesAcross); 925_documentScrollInfo.MakeVisible(element, rect, zeroIndexed); 935if (_documentScrollInfo != null) 937_documentScrollInfo.ScrollToPreviousRow(); 947if (_documentScrollInfo != null) 949_documentScrollInfo.ScrollToNextRow(); 959if (_documentScrollInfo != null) 961_documentScrollInfo.MakePageVisible( 0 ); 971if (_documentScrollInfo != null) 973_documentScrollInfo.MakePageVisible( PageCount - 1 ); 987if (_documentScrollInfo != null) 991_documentScrollInfo.MakePageVisible(pageNumber - 1); 1001if (_documentScrollInfo != null) 1003_documentScrollInfo.ViewThumbnails(); 1012if (_documentScrollInfo != null) 1014_documentScrollInfo.FitToPageWidth(); 1023if (_documentScrollInfo != null) 1025_documentScrollInfo.FitToPageHeight(); 1034if (_documentScrollInfo != null) 1036_documentScrollInfo.FitColumns(MaxPagesAcross); 1048if (_documentScrollInfo != null) 1050_documentScrollInfo.FitColumns(pagesAcross); 1085if (_documentScrollInfo != null) 1087_documentScrollInfo.PageUp(); 1096if (_documentScrollInfo != null) 1098_documentScrollInfo.PageDown(); 1107if (_documentScrollInfo != null) 1109_documentScrollInfo.PageLeft(); 1118if (_documentScrollInfo != null) 1120_documentScrollInfo.PageRight(); 1129if (_documentScrollInfo != null) 1131_documentScrollInfo.LineUp(); 1140if (_documentScrollInfo != null) 1142_documentScrollInfo.LineDown(); 1151if (_documentScrollInfo != null) 1153_documentScrollInfo.LineLeft(); 1162if (_documentScrollInfo != null) 1164_documentScrollInfo.LineRight(); 1238if (_documentScrollInfo != null && _documentScrollInfo.PageViews != null) 1241pageViews = _documentScrollInfo.PageViews; 1322SetValue(ExtentWidthPropertyKey, _documentScrollInfo.ExtentWidth); 1323SetValue(ExtentHeightPropertyKey, _documentScrollInfo.ExtentHeight); 1324SetValue(ViewportWidthPropertyKey, _documentScrollInfo.ViewportWidth); 1325SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight); 1327if (HorizontalOffset != _documentScrollInfo.HorizontalOffset) 1329HorizontalOffset = _documentScrollInfo.HorizontalOffset; 1332if (VerticalOffset != _documentScrollInfo.VerticalOffset) 1334VerticalOffset = _documentScrollInfo.VerticalOffset; 1338SetValue(MasterPageNumberPropertyKey, _documentScrollInfo.FirstVisiblePageNumber + 1); 1341double scrollZoom = ScaleToZoom(_documentScrollInfo.Scale); 1347if (MaxPagesAcross != _documentScrollInfo.MaxPagesAcross) 1349MaxPagesAcross = _documentScrollInfo.MaxPagesAcross; 1377FrameworkElement grid = _documentScrollInfo as FrameworkElement; 1446return _documentScrollInfo; 2063if (_documentScrollInfo == null) 2067_documentScrollInfo.DocumentViewerOwner = this; 2071FrameworkElement fe = _documentScrollInfo as FrameworkElement; 2089_documentScrollInfo.VerticalPageSpacing = VerticalPageSpacing; 2090_documentScrollInfo.HorizontalPageSpacing = HorizontalPageSpacing; 2098_documentScrollInfo.Content = (Document != null) ? Document.DocumentPaginator as DynamicDocumentPaginator : null; 2127Invariant.Assert(_documentScrollInfo != null, "IDocumentScrollInfo cannot be null."); 2129_scrollViewer.Content = _documentScrollInfo; 2130_scrollViewer.ScrollInfo = _documentScrollInfo; 2133if (_documentScrollInfo.Content != Document) 2198if (_documentScrollInfo != null) 2200_documentScrollInfo.MakeSelectionVisible(); 2407if (!dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2409dv._documentScrollInfo.SetHorizontalOffset(newOffset); 2427if ( !dv._internalIDSIChange && (dv._documentScrollInfo != null)) 2429dv._documentScrollInfo.SetVerticalOffset(newOffset); 2479if (dv._documentScrollInfo != null) 2481dv._documentScrollInfo.ShowPageBorders = (bool) e.NewValue; 2511if (dv._documentScrollInfo != null) 2520dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2564dv._documentScrollInfo.SetColumns((int) e.NewValue); 2588if (dv._documentScrollInfo != null) 2590dv._documentScrollInfo.VerticalPageSpacing = (double) e.NewValue; 2604if (dv._documentScrollInfo != null) 2606dv._documentScrollInfo.HorizontalPageSpacing = (double) e.NewValue;