14 references to Count
PresentationFramework (10)
System\Windows\Documents\FixedDocument.cs (10)
145DocumentsTrace.FixedFormat.FixedDocument.Trace($"Page {_pages.Count} Deferred"); 226for (int i = 0, n = pc.Count; i < n; i++) 326if (pageNumber < Pages.Count) 373if (pageNumber < Pages.Count) 476else if (this.Pages.Count > 0) 526internal int PageCount { get { return Pages.Count; } } 620for (int i = 0, n = pc.Count; i < n; i++) 633return (index >= 0 && index < this.Pages.Count); 723if (pageNumber < Pages.Count) 1005DocumentsTrace.FixedFormat.FixedDocument.Trace($"Loaded Page {_pages.Count}");
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
472if (k >= fd.Pages.Count) 474k = fd.Pages.Count; 495if (pageInDoc >= fd.Pages.Count) 2398if (fd != null && pageNumber < fd.Pages.Count)