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