4 writes to NewCount
PresentationFramework (4)
MS\Internal\Documents\MultiPageTextView.cs (4)
837
request.
NewCount
= request.NewCount - pagesMoved;
1446
pageRequest.
NewCount
= (pageRequest.Count > 0) ? pageRequest.NewCount - 1 : pageRequest.NewCount + 1;
1457
pageRequest.
NewCount
= pageRequest.Count;
1656
this.
NewCount
= count;
12 references to NewCount
PresentationFramework (12)
MS\Internal\Documents\MultiPageTextView.cs (12)
549
pageRequest.NewPosition, pageRequest.NewSuggestedOffset, pageRequest.Count - pageRequest.
NewCount
,
833
newPosition = GetPositionAtNextPageCore(request.NewPosition, request.NewSuggestedOffset, request.
NewCount
, out newSuggestedOffset, out pagesMoved, out newPageNumber);
834
Invariant.Assert(Math.Abs(request.
NewCount
) >= Math.Abs(pagesMoved));
837
request.NewCount = request.
NewCount
- pagesMoved;
839
if (request.
NewCount
== 0 || newPageNumber == -1)
848
newPageNumber += (request.
NewCount
> 0) ? 1 : -1;
1349
request.NewPosition, request.NewSuggestedOffset, request.Count - request.
NewCount
,
1350
request.
NewCount
== 0, null, false, request.UserState));
1442
Invariant.Assert(pageRequest.
NewCount
!= 0);
1446
pageRequest.NewCount = (pageRequest.Count > 0) ? pageRequest.
NewCount
- 1 : pageRequest.
NewCount
+ 1;
1461
else if (pageRequest.
NewCount
!= 0)