1 write to _viewer
PresentationFramework (1)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
44
_viewer
= viewer;
28 references to _viewer
PresentationFramework (28)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (28)
353
DynamicDocumentPaginator documentPaginator =
_viewer
.Document.DocumentPaginator as DynamicDocumentPaginator;
357
if (
_viewer
.CanGoToPage(pageNumber))
359
_viewer
.GoToPage(pageNumber);
421
GeneralTransform transform = _renderScope.TransformToAncestor(
_viewer
);
427
if (
_viewer
is FlowDocumentPageViewer)
430
bringIntoViewPending = ((FlowDocumentPageViewer)
_viewer
).BringPointIntoView(point);
432
else if (
_viewer
is DocumentViewer)
435
bringIntoViewPending = ((DocumentViewer)
_viewer
).BringPointIntoView(point);
441
if (
_viewer
.CanGoToPreviousPage)
443
_viewer
.PreviousPage();
447
else if (DoubleUtil.GreaterThan(point.X,
_viewer
.RenderSize.Width))
449
if (
_viewer
.CanGoToNextPage)
451
_viewer
.NextPage();
457
if (
_viewer
.CanGoToPreviousPage)
459
_viewer
.PreviousPage();
463
else if (DoubleUtil.GreaterThan(point.Y,
_viewer
.RenderSize.Height))
465
if (
_viewer
.CanGoToNextPage)
467
_viewer
.NextPage();
732
pageViews =
_viewer
.PageViews;
784
if (
_viewer
.CanGoToPage(pageNumber + 1))
786
_viewer
.GoToPage(pageNumber + 1);
800
if (
_viewer
.CanGoToNextPage)
802
_viewer
.NextPage();
814
if (
_viewer
.CanGoToPreviousPage)
816
_viewer
.PreviousPage();
854
if (
_viewer
.CanGoToPage(newPageNumber + 1))
857
_viewer
.GoToPage(newPageNumber + 1);
1516
IDocumentPaginatorSource document =
_viewer
.Document;