4 writes to PageNumber
PresentationFramework (4)
MS\Internal\Documents\DocumentGridPage.cs (2)
85
_documentPageView.
PageNumber
= value;
285
PageNumber
= int.MaxValue
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
303
PageNumber
= pageNumber
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1268
_pageViews[index].
PageNumber
+= offset;
24 references to PageNumber
PresentationFramework (24)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
123
pageNb = dpv.
PageNumber
;
227
if (page != null && dpv.
PageNumber
!= pageNumber)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
196
if (dpv.
PageNumber
== pageNumber)
MS\Internal\Documents\DocumentGrid.cs (2)
2588
return pageView.
PageNumber
;
2633
return dp.
PageNumber
;
MS\Internal\Documents\DocumentGridPage.cs (2)
78
return _documentPageView.
PageNumber
;
83
if (_documentPageView.
PageNumber
!= value)
MS\Internal\Documents\MultiPageTextView.cs (5)
883
pageNumber = ((DocumentPageView)pageTextView.RenderScope).
PageNumber
;
977
int currentPageNumber = ((DocumentPageView)pageTextView.RenderScope).
PageNumber
;
1167
if (_pageTextViews[i].DocumentPageView.
PageNumber
== pageNumber)
1197
if (_pageTextViews[i].DocumentPageView.
PageNumber
== newPageNumber)
1205
int currentPageNumber = _pageTextViews[i].DocumentPageView.
PageNumber
;
System\Windows\Annotations\AnnotationHelper.cs (1)
459
if (view.
PageNumber
== pageNb)
System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (3)
57
else if ((owner.
PageNumber
>= 0) && (owner.
PageNumber
< int.MaxValue))
64
result = string.Create(CultureInfo.InvariantCulture, $"DocumentPage{owner.
PageNumber
+ 1}");
System\Windows\Controls\Primitives\DocumentPageView.cs (7)
140
/// <see cref="
PageNumber
"/>
269
if (
PageNumber
>= 0)
273
_documentPaginator.GetPageAsync(
PageNumber
, this);
277
_documentPageAsync = _documentPaginator.GetPage(
PageNumber
);
724
if (e.PageNumber == this.
PageNumber
&& e.UserState == this)
754
if (this.
PageNumber
>= e.Start &&
755
(e.Count == int.MaxValue || this.
PageNumber
<= e.Start + e.Count))
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1230
masterPageNumber = masterPageView.
PageNumber
+ 1;