1 write to IsPixelBased
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
4246
IsPixelBased
= mustDisableVirtualization || (scrollUnit == ScrollUnit.Pixel);
112 references to IsPixelBased
PresentationFramework (112)
System\Windows\Controls\VirtualizingStackPanel.cs (112)
139
double newOffset = (
IsPixelBased
|| isHorizontal)
159
double newOffset = (
IsPixelBased
|| isHorizontal)
179
double newOffset = (
IsPixelBased
|| !isHorizontal)
199
double newOffset = (
IsPixelBased
|| !isHorizontal)
219
double newOffset = (
IsPixelBased
|| isHorizontal)
239
double newOffset = (
IsPixelBased
|| isHorizontal)
259
double newOffset = (
IsPixelBased
|| !isHorizontal)
279
double newOffset = (
IsPixelBased
|| !isHorizontal)
302
double newOffset = (
IsPixelBased
|| isHorizontal)
330
double newOffset = (
IsPixelBased
|| isHorizontal)
355
double newOffset = (
IsPixelBased
|| !isHorizontal)
375
double newOffset = (
IsPixelBased
|| !isHorizontal)
402
Debug.Assert(!
IsPixelBased
&& IsScrolling &&
522
if (!
IsPixelBased
)
540
if (!setAnchorInformation && !
IsPixelBased
)
564
else if (!
IsPixelBased
)
650
if (!
IsPixelBased
)
668
if (!setAnchorInformation && !
IsPixelBased
)
692
else if (!
IsPixelBased
)
898
if (!
IsPixelBased
)
1142
Debug.Assert(!
IsPixelBased
|| !findTopContainer, "find 'top' container only makes sense when item-scrolling");
1208
if (!
IsPixelBased
)
1283
if (
IsPixelBased
)
1324
else if (!
IsPixelBased
)
1522
if (
IsPixelBased
)
1570
else if (!
IsPixelBased
)
2253
IsPixelBased
|| isVSP45Compat,
2807
!
IsPixelBased
&&
2999
if (!
IsPixelBased
&&
3369
IsPixelBased
|| IsVSP45Compat,
3802
isVSP45Compat ||
IsPixelBased
,
3911
if (
IsPixelBased
)
4245
bool oldIsPixelBased =
IsPixelBased
;
4249
if (!HasMeasured || oldIsPixelBased !=
IsPixelBased
)
4342
if (
IsPixelBased
)
4760
if (
IsPixelBased
)
4770
if (
IsPixelBased
)
4876
if (
IsPixelBased
)
4886
if (
IsPixelBased
)
4993
if (!
IsPixelBased
&& isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width))
5002
if (!
IsPixelBased
&& !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height))
5073
viewport.X -=
IsPixelBased
? pixelSize.Width : logicalSize.Width;
5081
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X))
5172
viewport.Y -=
IsPixelBased
? pixelSize.Height : logicalSize.Height;
5180
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y))
5294
viewport.X -=
IsPixelBased
? inset.Left : isHeaderBeforeItems ? 1 : 0;
5298
viewport.Y -=
IsPixelBased
? inset.Top : isHeaderBeforeItems ? 1 : 0;
5315
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.X))
5418
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.Y))
5800
if (!
IsPixelBased
)
5828
if (
IsPixelBased
)
5924
if (!(
IsPixelBased
|| IsVSP45Compat))
6069
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6074
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6099
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6104
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6137
if (
IsPixelBased
)
6176
containerSize.Height =
IsPixelBased
? pixelHeight : 1;
6186
containerSize.Width =
IsPixelBased
? pixelWidth : 1;
6290
bool ignoreContainerPixelSize =
IsPixelBased
|| (IsScrolling && !hasVirtualizingChildren);
6314
if (
IsPixelBased
)
6723
childViewport.X = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width;
6729
(
IsPixelBased
? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width :
6768
childViewport.Y = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height;
6774
(
IsPixelBased
? stackPixelSizeInViewport.Height + stackPixelSizeInCacheAfterViewport.Height :
6917
if (
IsPixelBased
&&
7139
adjustedChildViewport.X -=
IsPixelBased
? frontPixelSize.Width + itemDesiredSizes.PixelSize.Width
7145
adjustedChildViewport.Y -=
IsPixelBased
? frontPixelSize.Height + itemDesiredSizes.PixelSize.Height
7218
if (
IsPixelBased
)
7310
if (
IsPixelBased
)
7490
if (
IsPixelBased
)
7503
if (
IsPixelBased
)
7575
if (
IsPixelBased
)
7658
if (
IsPixelBased
)
7674
if (
IsPixelBased
)
7690
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Width, uniformOrAverageContainerPixelSize));
7695
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Height, uniformOrAverageContainerPixelSize));
7708
if (
IsPixelBased
)
7755
if (
IsPixelBased
)
7811
if (
IsPixelBased
)
7946
IsPixelBased
|| IsVSP45Compat,
8023
uniformOrAverageContainerSize =
IsPixelBased
? uniformOrAverageContainerPixelSize : 1.0;
8055
if (
IsPixelBased
|| IsVSP45Compat)
8375
IsPixelBased
? childPixelSize : childLogicalSize,
8388
IsPixelBased
? childPixelSize : childLogicalSize,
8426
if (!
IsPixelBased
)
8450
if (
IsPixelBased
)
8483
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8515
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8613
if (
IsPixelBased
)
8666
if (
IsPixelBased
)
9616
if (
IsPixelBased
)
9717
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
9722
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
9727
if (!
IsPixelBased
)
9957
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
9972
if (!
IsPixelBased
)
10074
if (
IsPixelBased
)
10174
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
10189
if (!
IsPixelBased
)
10291
if (
IsPixelBased
)
10468
if (
IsPixelBased
)
10569
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
10574
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
10579
if (!
IsPixelBased
)
10658
if (!
IsPixelBased
)
10745
if (
IsPixelBased
)
10773
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
10789
if (!
IsPixelBased
)
10876
if (
IsPixelBased
)
10904
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
11065
if (
IsPixelBased
)