1 write to IsPixelBased
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
4251
IsPixelBased
= mustDisableVirtualization || (scrollUnit == ScrollUnit.Pixel);
112 references to IsPixelBased
PresentationFramework (112)
System\Windows\Controls\VirtualizingStackPanel.cs (112)
144
double newOffset = (
IsPixelBased
|| isHorizontal)
164
double newOffset = (
IsPixelBased
|| isHorizontal)
184
double newOffset = (
IsPixelBased
|| !isHorizontal)
204
double newOffset = (
IsPixelBased
|| !isHorizontal)
224
double newOffset = (
IsPixelBased
|| isHorizontal)
244
double newOffset = (
IsPixelBased
|| isHorizontal)
264
double newOffset = (
IsPixelBased
|| !isHorizontal)
284
double newOffset = (
IsPixelBased
|| !isHorizontal)
307
double newOffset = (
IsPixelBased
|| isHorizontal)
335
double newOffset = (
IsPixelBased
|| isHorizontal)
360
double newOffset = (
IsPixelBased
|| !isHorizontal)
380
double newOffset = (
IsPixelBased
|| !isHorizontal)
407
Debug.Assert(!
IsPixelBased
&& IsScrolling &&
527
if (!
IsPixelBased
)
545
if (!setAnchorInformation && !
IsPixelBased
)
569
else if (!
IsPixelBased
)
655
if (!
IsPixelBased
)
673
if (!setAnchorInformation && !
IsPixelBased
)
697
else if (!
IsPixelBased
)
903
if (!
IsPixelBased
)
1147
Debug.Assert(!
IsPixelBased
|| !findTopContainer, "find 'top' container only makes sense when item-scrolling");
1213
if (!
IsPixelBased
)
1288
if (
IsPixelBased
)
1329
else if (!
IsPixelBased
)
1527
if (
IsPixelBased
)
1575
else if (!
IsPixelBased
)
2258
IsPixelBased
|| isVSP45Compat,
2812
!
IsPixelBased
&&
3004
if (!
IsPixelBased
&&
3374
IsPixelBased
|| IsVSP45Compat,
3807
isVSP45Compat ||
IsPixelBased
,
3916
if (
IsPixelBased
)
4250
bool oldIsPixelBased =
IsPixelBased
;
4254
if (!HasMeasured || oldIsPixelBased !=
IsPixelBased
)
4347
if (
IsPixelBased
)
4765
if (
IsPixelBased
)
4775
if (
IsPixelBased
)
4881
if (
IsPixelBased
)
4891
if (
IsPixelBased
)
4998
if (!
IsPixelBased
&& isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width))
5007
if (!
IsPixelBased
&& !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height))
5078
viewport.X -=
IsPixelBased
? pixelSize.Width : logicalSize.Width;
5086
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X))
5177
viewport.Y -=
IsPixelBased
? pixelSize.Height : logicalSize.Height;
5185
if (
IsPixelBased
&& DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y))
5299
viewport.X -=
IsPixelBased
? inset.Left : isHeaderBeforeItems ? 1 : 0;
5303
viewport.Y -=
IsPixelBased
? inset.Top : isHeaderBeforeItems ? 1 : 0;
5320
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.X))
5423
if (
IsPixelBased
&& DoubleUtil.GreaterThan(0, viewport.Y))
5805
if (!
IsPixelBased
)
5833
if (
IsPixelBased
)
5929
if (!(
IsPixelBased
|| IsVSP45Compat))
6074
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6079
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6104
containerSize.Height =
IsPixelBased
? DesiredSize.Height : 1;
6109
containerSize.Width =
IsPixelBased
? DesiredSize.Width : 1;
6142
if (
IsPixelBased
)
6181
containerSize.Height =
IsPixelBased
? pixelHeight : 1;
6191
containerSize.Width =
IsPixelBased
? pixelWidth : 1;
6295
bool ignoreContainerPixelSize =
IsPixelBased
|| (IsScrolling && !hasVirtualizingChildren);
6319
if (
IsPixelBased
)
6728
childViewport.X = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width;
6734
(
IsPixelBased
? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width :
6773
childViewport.Y = (
IsPixelBased
? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height;
6779
(
IsPixelBased
? stackPixelSizeInViewport.Height + stackPixelSizeInCacheAfterViewport.Height :
6922
if (
IsPixelBased
&&
7144
adjustedChildViewport.X -=
IsPixelBased
? frontPixelSize.Width + itemDesiredSizes.PixelSize.Width
7150
adjustedChildViewport.Y -=
IsPixelBased
? frontPixelSize.Height + itemDesiredSizes.PixelSize.Height
7223
if (
IsPixelBased
)
7315
if (
IsPixelBased
)
7495
if (
IsPixelBased
)
7508
if (
IsPixelBased
)
7580
if (
IsPixelBased
)
7663
if (
IsPixelBased
)
7679
if (
IsPixelBased
)
7695
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Width, uniformOrAverageContainerPixelSize));
7700
&& (
IsPixelBased
|| DoubleUtil.AreClose(childPixelSize.Height, uniformOrAverageContainerPixelSize));
7713
if (
IsPixelBased
)
7760
if (
IsPixelBased
)
7816
if (
IsPixelBased
)
7951
IsPixelBased
|| IsVSP45Compat,
8028
uniformOrAverageContainerSize =
IsPixelBased
? uniformOrAverageContainerPixelSize : 1.0;
8060
if (
IsPixelBased
|| IsVSP45Compat)
8380
IsPixelBased
? childPixelSize : childLogicalSize,
8393
IsPixelBased
? childPixelSize : childLogicalSize,
8431
if (!
IsPixelBased
)
8455
if (
IsPixelBased
)
8488
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8520
if (!
IsPixelBased
&& virtualizingChild != null && IsVSP45Compat)
8618
if (
IsPixelBased
)
8671
if (
IsPixelBased
)
9621
if (
IsPixelBased
)
9722
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
9727
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
9732
if (!
IsPixelBased
)
9962
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
9977
if (!
IsPixelBased
)
10079
if (
IsPixelBased
)
10179
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
10194
if (!
IsPixelBased
)
10296
if (
IsPixelBased
)
10473
if (
IsPixelBased
)
10574
stackPixelSize.Width =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.X, 0) ?
10579
stackPixelSize.Height =
IsPixelBased
|| DoubleUtil.AreClose(computedViewportOffset.Y, 0) ?
10584
if (!
IsPixelBased
)
10663
if (!
IsPixelBased
)
10750
if (
IsPixelBased
)
10778
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X))
10794
if (!
IsPixelBased
)
10881
if (
IsPixelBased
)
10909
if (!
IsPixelBased
&& lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y))
11070
if (
IsPixelBased
)