1 write to IsPixelBased
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
4246IsPixelBased = 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) 1522if (IsPixelBased) 1570else if (!IsPixelBased) 2253IsPixelBased || isVSP45Compat, 2807!IsPixelBased && 2999if (!IsPixelBased && 3369IsPixelBased || IsVSP45Compat, 3802isVSP45Compat || IsPixelBased, 3911if (IsPixelBased) 4245bool oldIsPixelBased = IsPixelBased; 4249if (!HasMeasured || oldIsPixelBased != IsPixelBased) 4342if (IsPixelBased) 4760if (IsPixelBased) 4770if (IsPixelBased) 4876if (IsPixelBased) 4886if (IsPixelBased) 4993if (!IsPixelBased && isHorizontal && DoubleUtil.IsZero(viewport.Width) && DoubleUtil.AreClose(viewport.X, extent.Width)) 5002if (!IsPixelBased && !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height)) 5073viewport.X -= IsPixelBased ? pixelSize.Width : logicalSize.Width; 5081if (IsPixelBased && DoubleUtil.GreaterThan(pixelSize.Width, parentViewport.X)) 5172viewport.Y -= IsPixelBased ? pixelSize.Height : logicalSize.Height; 5180if (IsPixelBased && DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y)) 5294viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0; 5298viewport.Y -= IsPixelBased ? inset.Top : isHeaderBeforeItems ? 1 : 0; 5315if (IsPixelBased && DoubleUtil.GreaterThan(0, viewport.X)) 5418if (IsPixelBased && DoubleUtil.GreaterThan(0, viewport.Y)) 5800if (!IsPixelBased) 5828if (IsPixelBased) 5924if (!(IsPixelBased || IsVSP45Compat)) 6069containerSize.Height = IsPixelBased ? DesiredSize.Height : 1; 6074containerSize.Width = IsPixelBased ? DesiredSize.Width : 1; 6099containerSize.Height = IsPixelBased ? DesiredSize.Height : 1; 6104containerSize.Width = IsPixelBased ? DesiredSize.Width : 1; 6137if (IsPixelBased) 6176containerSize.Height = IsPixelBased ? pixelHeight : 1; 6186containerSize.Width = IsPixelBased ? pixelWidth : 1; 6290bool ignoreContainerPixelSize = IsPixelBased || (IsScrolling && !hasVirtualizingChildren); 6314if (IsPixelBased) 6723childViewport.X = (IsPixelBased ? stackPixelSizeInCacheBeforeViewport.Width : stackLogicalSizeInCacheBeforeViewport.Width) + containerSize.Width; 6729(IsPixelBased ? stackPixelSizeInViewport.Width + stackPixelSizeInCacheAfterViewport.Width : 6768childViewport.Y = (IsPixelBased ? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height; 6774(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) 9616if (IsPixelBased) 9717stackPixelSize.Width = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.X, 0) ? 9722stackPixelSize.Height = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.Y, 0) ? 9727if (!IsPixelBased) 9957if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X)) 9972if (!IsPixelBased) 10074if (IsPixelBased) 10174if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y)) 10189if (!IsPixelBased) 10291if (IsPixelBased) 10468if (IsPixelBased) 10569stackPixelSize.Width = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.X, 0) ? 10574stackPixelSize.Height = IsPixelBased || DoubleUtil.AreClose(computedViewportOffset.Y, 0) ? 10579if (!IsPixelBased) 10658if (!IsPixelBased) 10745if (IsPixelBased) 10773if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.X)) 10789if (!IsPixelBased) 10876if (IsPixelBased) 10904if (!IsPixelBased && lastPageSafeOffset.HasValue && !DoubleUtil.AreClose((double)lastPageSafeOffset, computedViewportOffset.Y)) 11065if (IsPixelBased)