6 writes to PageTo
PresentationFramework (2)
MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
118
pageRange.
PageTo
= pageRange.PageFrom;
System\Windows\Controls\PrintDialog.cs (1)
93
_pageRange.
PageTo
= temp;
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
400
pageRange.
PageTo
= pageCount;
405
pageRange.
PageTo
= pageRange.PageFrom;
409
pageRange.
PageTo
= pageCount;
415
pageRange.
PageTo
= pageCount;
13 references to PageTo
PresentationFramework (9)
MS\Internal\Printing\PrintDlgExMarshaler.cs (3)
115
if (pageRange.PageFrom > pageRange.
PageTo
)
117
int temp = pageRange.
PageTo
;
448
range.nToPage = (uint)_dialog.PageRange.
PageTo
;
System\Windows\Controls\PageRanges.cs (2)
194
return (pageRange.PageFrom == this.PageFrom) && (pageRange.
PageTo
== this.
PageTo
);
System\Windows\Controls\PrintDialog.cs (4)
82
if ((value.
PageTo
<= 0) || (value.PageFrom <= 0))
89
if (_pageRange.PageFrom > _pageRange.
PageTo
)
92
_pageRange.PageFrom = _pageRange.
PageTo
;
306
Math.Min((int)dlg.MaxPage, _pageRange.
PageTo
));
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
403
if (pageRange.
PageTo
< pageRange.PageFrom)
407
else if (pageRange.
PageTo
> pageCount)
482
int pages = pageRange.
PageTo
- pageRange.PageFrom + 1;
514
for (int i = pageRange.PageFrom; i <= pageRange.
PageTo
; i++)