1 write to IsPixelBased
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
4244
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
)
1518
if (
IsPixelBased
)
1566
else if (!
IsPixelBased
)
2251
IsPixelBased
|| isVSP45Compat,
2805
!
IsPixelBased
&&
2997
if (!
IsPixelBased
&&
3367
IsPixelBased
|| IsVSP45Compat,
3800
isVSP45Compat ||
IsPixelBased
,
3909
if (
IsPixelBased
)
4243
bool oldIsPixelBased =
IsPixelBased
;
4247
if (!HasMeasured || oldIsPixelBased !=
IsPixelBased
)
4340
if (
IsPixelBased
)
4758
if (
IsPixelBased
)
4768
if (
IsPixelBased
)
4874
if (
IsPixelBased
)
4884
if (
IsPixelBased
)
4991
if (!
IsPixelBased
&& isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width))
5000
if (!
IsPixelBased
&& !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height))
5071
viewport.X -=
IsPixelBased
? pixelSize.Width : logicalSize.Width;
5079
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X))
5170
viewport.Y -=
IsPixelBased
? pixelSize.Height : logicalSize.Height;
5178
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y))
5292
viewport.X -=
IsPixelBased
? inset.Left : isHeaderBeforeItems ? 1 : 0;
5296
viewport.Y -=
IsPixelBased
? inset.Top : isHeaderBeforeItems ? 1 : 0;
5313
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.X))
5416
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.Y))
5798
if (!
IsPixelBased
)
5826
if (
IsPixelBased
)
5922
if (!(
IsPixelBased
|| IsVSP45Compat))
6067
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6072
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6097
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6102
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6135
if (
IsPixelBased
)
6174
containerSize.Height =
IsPixelBased
? pixelHeight : 1;
6184
containerSize.Width =
IsPixelBased
? pixelWidth : 1;
6288
bool ignoreContainerPixelSize =
IsPixelBased
|| (IsScrolling && !hasVirtualizingChildren);
6312
if (
IsPixelBased
)
6721
childViewport.X = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width;
6727
(
IsPixelBased
? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width :
6766
childViewport.Y = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height;
6772
(
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
)
9618
if (
IsPixelBased
)
9719
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
9724
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
9729
if (!
IsPixelBased
)
9959
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
9974
if (!
IsPixelBased
)
10076
if (
IsPixelBased
)
10176
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
10191
if (!
IsPixelBased
)
10293
if (
IsPixelBased
)
10470
if (
IsPixelBased
)
10571
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
10576
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
10581
if (!
IsPixelBased
)
10660
if (!
IsPixelBased
)
10747
if (
IsPixelBased
)
10775
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
10791
if (!
IsPixelBased
)
10878
if (
IsPixelBased
)
10906
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
11067
if (
IsPixelBased
)