1 write to _viewer
PresentationFramework (1)
MS\Internal\Documents\MultiPageTextView.cs (1)
42
_viewer
= viewer;
28 references to _viewer
PresentationFramework (28)
MS\Internal\Documents\MultiPageTextView.cs (28)
350
DynamicDocumentPaginator documentPaginator =
_viewer
.Document.DocumentPaginator as DynamicDocumentPaginator;
354
if (
_viewer
.CanGoToPage(pageNumber))
356
_viewer
.GoToPage(pageNumber);
418
GeneralTransform transform = _renderScope.TransformToAncestor(
_viewer
);
424
if (
_viewer
is FlowDocumentPageViewer)
427
bringIntoViewPending = ((FlowDocumentPageViewer)
_viewer
).BringPointIntoView(point);
429
else if (
_viewer
is DocumentViewer)
432
bringIntoViewPending = ((DocumentViewer)
_viewer
).BringPointIntoView(point);
438
if (
_viewer
.CanGoToPreviousPage)
440
_viewer
.PreviousPage();
444
else if (DoubleUtil.GreaterThan(point.X,
_viewer
.RenderSize.Width))
446
if (
_viewer
.CanGoToNextPage)
448
_viewer
.NextPage();
454
if (
_viewer
.CanGoToPreviousPage)
456
_viewer
.PreviousPage();
460
else if (DoubleUtil.GreaterThan(point.Y,
_viewer
.RenderSize.Height))
462
if (
_viewer
.CanGoToNextPage)
464
_viewer
.NextPage();
727
pageViews =
_viewer
.PageViews;
779
if (
_viewer
.CanGoToPage(pageNumber + 1))
781
_viewer
.GoToPage(pageNumber + 1);
795
if (
_viewer
.CanGoToNextPage)
797
_viewer
.NextPage();
809
if (
_viewer
.CanGoToPreviousPage)
811
_viewer
.PreviousPage();
849
if (
_viewer
.CanGoToPage(newPageNumber + 1))
852
_viewer
.GoToPage(newPageNumber + 1);
1511
IDocumentPaginatorSource document =
_viewer
.Document;