14 references to Count
PresentationFramework (10)
System\Windows\Documents\FixedDocument.cs (10)
156DocumentsTrace.FixedFormat.FixedDocument.Trace($"Page {_pages.Count} Deferred"); 237for (int i = 0, n = pc.Count; i < n; i++) 337if (pageNumber < Pages.Count) 384if (pageNumber < Pages.Count) 487else if (this.Pages.Count > 0) 537internal int PageCount { get { return Pages.Count; } } 631for (int i = 0, n = pc.Count; i < n; i++) 644return (index >= 0 && index < this.Pages.Count); 734if (pageNumber < Pages.Count) 1016DocumentsTrace.FixedFormat.FixedDocument.Trace($"Loaded Page {_pages.Count}");
PresentationUI (4)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
479if (k >= fd.Pages.Count) 481k = fd.Pages.Count; 502if (pageInDoc >= fd.Pages.Count) 2405if (fd != null && pageNumber < fd.Pages.Count)