1 write to _viewer
PresentationFramework (1)
MS\Internal\Documents\MultiPageTextView.cs (1)
40
_viewer
= viewer;
28 references to _viewer
PresentationFramework (28)
MS\Internal\Documents\MultiPageTextView.cs (28)
348
DynamicDocumentPaginator documentPaginator =
_viewer
.Document.DocumentPaginator as DynamicDocumentPaginator;
352
if (
_viewer
.CanGoToPage(pageNumber))
354
_viewer
.GoToPage(pageNumber);
416
GeneralTransform transform = _renderScope.TransformToAncestor(
_viewer
);
422
if (
_viewer
is FlowDocumentPageViewer)
425
bringIntoViewPending = ((FlowDocumentPageViewer)
_viewer
).BringPointIntoView(point);
427
else if (
_viewer
is DocumentViewer)
430
bringIntoViewPending = ((DocumentViewer)
_viewer
).BringPointIntoView(point);
436
if (
_viewer
.CanGoToPreviousPage)
438
_viewer
.PreviousPage();
442
else if (DoubleUtil.GreaterThan(point.X,
_viewer
.RenderSize.Width))
444
if (
_viewer
.CanGoToNextPage)
446
_viewer
.NextPage();
452
if (
_viewer
.CanGoToPreviousPage)
454
_viewer
.PreviousPage();
458
else if (DoubleUtil.GreaterThan(point.Y,
_viewer
.RenderSize.Height))
460
if (
_viewer
.CanGoToNextPage)
462
_viewer
.NextPage();
725
pageViews =
_viewer
.PageViews;
777
if (
_viewer
.CanGoToPage(pageNumber + 1))
779
_viewer
.GoToPage(pageNumber + 1);
793
if (
_viewer
.CanGoToNextPage)
795
_viewer
.NextPage();
807
if (
_viewer
.CanGoToPreviousPage)
809
_viewer
.PreviousPage();
847
if (
_viewer
.CanGoToPage(newPageNumber + 1))
850
_viewer
.GoToPage(newPageNumber + 1);
1509
IDocumentPaginatorSource document =
_viewer
.Document;