4 writes to NewCount
PresentationFramework (4)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (4)
842
request.
NewCount
= request.NewCount - pagesMoved;
1451
pageRequest.
NewCount
= (pageRequest.Count > 0) ? pageRequest.NewCount - 1 : pageRequest.NewCount + 1;
1462
pageRequest.
NewCount
= pageRequest.Count;
1661
this.
NewCount
= count;
12 references to NewCount
PresentationFramework (12)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (12)
554
pageRequest.NewPosition, pageRequest.NewSuggestedOffset, pageRequest.Count - pageRequest.
NewCount
,
838
newPosition = GetPositionAtNextPageCore(request.NewPosition, request.NewSuggestedOffset, request.
NewCount
, out newSuggestedOffset, out pagesMoved, out newPageNumber);
839
Invariant.Assert(Math.Abs(request.
NewCount
) >= Math.Abs(pagesMoved));
842
request.NewCount = request.
NewCount
- pagesMoved;
844
if (request.
NewCount
== 0 || newPageNumber == -1)
853
newPageNumber += (request.
NewCount
> 0) ? 1 : -1;
1354
request.NewPosition, request.NewSuggestedOffset, request.Count - request.
NewCount
,
1355
request.
NewCount
== 0, null, false, request.UserState));
1447
Invariant.Assert(pageRequest.
NewCount
!= 0);
1451
pageRequest.NewCount = (pageRequest.Count > 0) ? pageRequest.
NewCount
- 1 : pageRequest.
NewCount
+ 1;
1466
else if (pageRequest.
NewCount
!= 0)