1 write to IsPixelBased
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
4244IsPixelBased = mustDisableVirtualization || (scrollUnit == ScrollUnit.Pixel);
112 references to IsPixelBased
PresentationFramework (112)
System\Windows\Controls\VirtualizingStackPanel.cs (112)
139double newOffset = (IsPixelBased || isHorizontal) 159double newOffset = (IsPixelBased || isHorizontal) 179double newOffset = (IsPixelBased || !isHorizontal) 199double newOffset = (IsPixelBased || !isHorizontal) 219double newOffset = (IsPixelBased || isHorizontal) 239double newOffset = (IsPixelBased || isHorizontal) 259double newOffset = (IsPixelBased || !isHorizontal) 279double newOffset = (IsPixelBased || !isHorizontal) 302double newOffset = (IsPixelBased || isHorizontal) 330double newOffset = (IsPixelBased || isHorizontal) 355double newOffset = (IsPixelBased || !isHorizontal) 375double newOffset = (IsPixelBased || !isHorizontal) 402Debug.Assert(!IsPixelBased && IsScrolling && 522if (!IsPixelBased) 540if (!setAnchorInformation && !IsPixelBased) 564else if (!IsPixelBased) 650if (!IsPixelBased) 668if (!setAnchorInformation && !IsPixelBased) 692else if (!IsPixelBased) 898if (!IsPixelBased) 1142Debug.Assert(!IsPixelBased || !findTopContainer, "find 'top' container only makes sense when item-scrolling"); 1208if (!IsPixelBased) 1283if (IsPixelBased) 1324else if (!IsPixelBased) 1518if (IsPixelBased) 1566else if (!IsPixelBased) 2251IsPixelBased || isVSP45Compat, 2805!IsPixelBased && 2997if (!IsPixelBased && 3367IsPixelBased || IsVSP45Compat, 3800isVSP45Compat || IsPixelBased, 3909if (IsPixelBased) 4243bool oldIsPixelBased = IsPixelBased; 4247if (!HasMeasured || oldIsPixelBased != IsPixelBased) 4340if (IsPixelBased) 4758if (IsPixelBased) 4768if (IsPixelBased) 4874if (IsPixelBased) 4884if (IsPixelBased) 4991if (!IsPixelBased && isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width)) 5000if (!IsPixelBased && !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height)) 5071viewport.X -= IsPixelBased ? pixelSize.Width : logicalSize.Width; 5079if (IsPixelBased && DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X)) 5170viewport.Y -= IsPixelBased ? pixelSize.Height : logicalSize.Height; 5178if (IsPixelBased && DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y)) 5292viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0; 5296viewport.Y -= IsPixelBased ? inset.Top : isHeaderBeforeItems ? 1 : 0; 5313if (IsPixelBased && DoubleUtil.GreaterThan(0, viewport.X)) 5416if (IsPixelBased && DoubleUtil.GreaterThan(0, viewport.Y)) 5798if (!IsPixelBased) 5826if (IsPixelBased) 5922if (!(IsPixelBased || IsVSP45Compat)) 6067containerSize.Height = IsPixelBased ? DesiredSize.Height : 1; 6072containerSize.Width = IsPixelBased ? DesiredSize.Width : 1; 6097containerSize.Height = IsPixelBased ? DesiredSize.Height : 1; 6102containerSize.Width = IsPixelBased ? DesiredSize.Width : 1; 6135if (IsPixelBased) 6174containerSize.Height = IsPixelBased ? pixelHeight : 1; 6184containerSize.Width = IsPixelBased ? pixelWidth : 1; 6288bool ignoreContainerPixelSize = IsPixelBased || (IsScrolling && !hasVirtualizingChildren); 6312if (IsPixelBased) 6721childViewport.X = (IsPixelBased ? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width; 6727(IsPixelBased ? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width : 6766childViewport.Y = (IsPixelBased ? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height; 6772(IsPixelBased ? stackPixelSizeInViewport.Height + stackPixelSizeInCacheAfterViewport.Height : 6917if (IsPixelBased && 7139adjustedChildViewport.X -= IsPixelBased ? frontPixelSize.Width + itemDesiredSizes.PixelSize.Width 7145adjustedChildViewport.Y -= IsPixelBased ? frontPixelSize.Height + itemDesiredSizes.PixelSize.Height 7218if (IsPixelBased) 7310if (IsPixelBased) 7490if (IsPixelBased) 7503if (IsPixelBased) 7575if (IsPixelBased) 7658if (IsPixelBased) 7674if (IsPixelBased) 7690&& (IsPixelBased || DoubleUtil.AreClose(childPixelSize.Width, uniformOrAverageContainerPixelSize)); 7695&& (IsPixelBased || DoubleUtil.AreClose(childPixelSize.Height, uniformOrAverageContainerPixelSize)); 7708if (IsPixelBased) 7755if (IsPixelBased) 7811if (IsPixelBased) 7946IsPixelBased || IsVSP45Compat, 8023uniformOrAverageContainerSize = IsPixelBased ? uniformOrAverageContainerPixelSize : 1.0; 8055if (IsPixelBased || IsVSP45Compat) 8375IsPixelBased ? childPixelSize : childLogicalSize, 8388IsPixelBased ? childPixelSize : childLogicalSize, 8426if (!IsPixelBased) 8450if (IsPixelBased) 8483if (!IsPixelBased && virtualizingChild != null && IsVSP45Compat) 8515if (!IsPixelBased && virtualizingChild != null && IsVSP45Compat) 8613if (IsPixelBased) 8666if (IsPixelBased) 9618if (IsPixelBased) 9719stackPixelSize.Width = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.X, 0) ? 9724stackPixelSize.Height = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.Y, 0) ? 9729if (!IsPixelBased) 9959if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X)) 9974if (!IsPixelBased) 10076if (IsPixelBased) 10176if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y)) 10191if (!IsPixelBased) 10293if (IsPixelBased) 10470if (IsPixelBased) 10571stackPixelSize.Width = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.X, 0) ? 10576stackPixelSize.Height = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.Y, 0) ? 10581if (!IsPixelBased) 10660if (!IsPixelBased) 10747if (IsPixelBased) 10775if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X)) 10791if (!IsPixelBased) 10878if (IsPixelBased) 10906if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y)) 11067if (IsPixelBased)