1 write to IsPixelBased
PresentationFramework (1)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
4169
IsPixelBased
= mustDisableVirtualization || (scrollUnit == ScrollUnit.Pixel);
110 references to IsPixelBased
PresentationFramework (110)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (110)
145
double newOffset = (
IsPixelBased
|| isHorizontal)
165
double newOffset = (
IsPixelBased
|| isHorizontal)
185
double newOffset = (
IsPixelBased
|| !isHorizontal)
205
double newOffset = (
IsPixelBased
|| !isHorizontal)
225
double newOffset = (
IsPixelBased
|| isHorizontal)
245
double newOffset = (
IsPixelBased
|| isHorizontal)
265
double newOffset = (
IsPixelBased
|| !isHorizontal)
285
double newOffset = (
IsPixelBased
|| !isHorizontal)
308
double newOffset = (
IsPixelBased
|| isHorizontal)
336
double newOffset = (
IsPixelBased
|| isHorizontal)
361
double newOffset = (
IsPixelBased
|| !isHorizontal)
381
double newOffset = (
IsPixelBased
|| !isHorizontal)
408
Debug.Assert(!
IsPixelBased
&& IsScrolling &&
526
if (!
IsPixelBased
)
544
if (!setAnchorInformation && !
IsPixelBased
)
568
else if (!
IsPixelBased
)
652
if (!
IsPixelBased
)
670
if (!setAnchorInformation && !
IsPixelBased
)
694
else if (!
IsPixelBased
)
900
if (!
IsPixelBased
)
1116
Debug.Assert(!
IsPixelBased
|| !findTopContainer, "find 'top' container only makes sense when item-scrolling");
1179
if (!
IsPixelBased
)
1254
if (
IsPixelBased
)
1280
else if (!
IsPixelBased
)
1478
if (
IsPixelBased
)
1526
else if (!
IsPixelBased
)
2208
IsPixelBased
|| isVSP45Compat,
2760
!
IsPixelBased
&&
2952
if (!
IsPixelBased
&&
3313
IsPixelBased
|| IsVSP45Compat,
3741
isVSP45Compat ||
IsPixelBased
,
3844
if (
IsPixelBased
)
4168
bool oldIsPixelBased =
IsPixelBased
;
4172
if (!HasMeasured || oldIsPixelBased !=
IsPixelBased
)
4264
if (
IsPixelBased
)
4668
if (
IsPixelBased
)
4678
if (
IsPixelBased
)
4774
if (
IsPixelBased
)
4784
if (
IsPixelBased
)
4881
if (!
IsPixelBased
&& isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width))
4890
if (!
IsPixelBased
&& !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height))
4961
viewport.X -=
IsPixelBased
? pixelSize.Width : logicalSize.Width;
4969
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X))
5060
viewport.Y -=
IsPixelBased
? pixelSize.Height : logicalSize.Height;
5068
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y))
5182
viewport.X -=
IsPixelBased
? inset.Left : isHeaderBeforeItems ? 1 : 0;
5186
viewport.Y -=
IsPixelBased
? inset.Top : isHeaderBeforeItems ? 1 : 0;
5203
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.X))
5306
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.Y))
5667
if (!
IsPixelBased
)
5695
if (
IsPixelBased
)
5791
if (!(
IsPixelBased
|| IsVSP45Compat))
5936
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
5941
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
5966
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
5971
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6004
if (
IsPixelBased
)
6043
containerSize.Height =
IsPixelBased
? pixelHeight : 1;
6053
containerSize.Width =
IsPixelBased
? pixelWidth : 1;
6157
bool ignoreContainerPixelSize =
IsPixelBased
|| (IsScrolling && !hasVirtualizingChildren);
6181
if (
IsPixelBased
)
6590
childViewport.X = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width;
6596
(
IsPixelBased
? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width :
6635
childViewport.Y = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height;
6641
(
IsPixelBased
? stackPixelSizeInViewport.Height + stackPixelSizeInCacheAfterViewport.Height :
6782
if (
IsPixelBased
&&
7004
adjustedChildViewport.X -=
IsPixelBased
? frontPixelSize.Width + itemDesiredSizes.PixelSize.Width
7010
adjustedChildViewport.Y -=
IsPixelBased
? frontPixelSize.Height + itemDesiredSizes.PixelSize.Height
7083
if (
IsPixelBased
)
7175
if (
IsPixelBased
)
7355
if (
IsPixelBased
)
7368
if (
IsPixelBased
)
7440
if (
IsPixelBased
)
7523
if (
IsPixelBased
)
7539
if (
IsPixelBased
)
7555
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Width, uniformOrAverageContainerPixelSize));
7560
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Height, uniformOrAverageContainerPixelSize));
7573
if (
IsPixelBased
)
7620
if (
IsPixelBased
)
7662
if (
IsPixelBased
)
7797
IsPixelBased
|| IsVSP45Compat,
7874
uniformOrAverageContainerSize =
IsPixelBased
? uniformOrAverageContainerPixelSize : 1.0;
7906
if (
IsPixelBased
|| IsVSP45Compat)
8222
IsPixelBased
? childPixelSize : childLogicalSize,
8235
IsPixelBased
? childPixelSize : childLogicalSize,
8273
if (!
IsPixelBased
)
8297
if (
IsPixelBased
)
8330
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8362
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8460
if (
IsPixelBased
)
8513
if (
IsPixelBased
)
9471
if (
IsPixelBased
)
9572
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
9577
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
9812
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
9827
if (!
IsPixelBased
)
9929
if (
IsPixelBased
)
10029
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
10044
if (!
IsPixelBased
)
10146
if (
IsPixelBased
)
10323
if (
IsPixelBased
)
10424
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
10429
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
10513
if (!
IsPixelBased
)
10600
if (
IsPixelBased
)
10628
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
10644
if (!
IsPixelBased
)
10731
if (
IsPixelBased
)
10759
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
10923
if (
IsPixelBased
)