18 references to PixelSize
PresentationFramework (18)
MS\Internal\Helper.cs (1)
1095
Size itemPixelSize = itemDesiredSizes.
PixelSize
;
System\Windows\Controls\Primitives\HierarchicalVirtualizationItemDesiredSizes.cs (4)
145
(itemDesiredSizes1.
PixelSize
== itemDesiredSizes2.
PixelSize
) &&
164
(itemDesiredSizes1.
PixelSize
!= itemDesiredSizes2.
PixelSize
) ||
System\Windows\Controls\VirtualizingStackPanel.cs (13)
3911
Size pixelSize = itemDesiredSizes.
PixelSize
;
3958
itemDesiredSizes.
PixelSize
,
5058
Size pixelSize = forHeader ? headerDesiredSizes.PixelSize : itemDesiredSizes.
PixelSize
;
6918
((isHorizontal && DoubleUtil.AreClose(itemDesiredSizes.
PixelSize
.Width, itemDesiredSizes.PixelSizeInViewport.Width)) ||
6919
(!isHorizontal && DoubleUtil.AreClose(itemDesiredSizes.
PixelSize
.Height, itemDesiredSizes.PixelSizeInViewport.Height))))
7091
if ((!isHorizontal && (itemDesiredSizes.
PixelSize
.Height > 0 ||
7093
( isHorizontal && (itemDesiredSizes.
PixelSize
.Width > 0 ||
7139
adjustedChildViewport.X -= IsPixelBased ? frontPixelSize.Width + itemDesiredSizes.
PixelSize
.Width
7145
adjustedChildViewport.Y -= IsPixelBased ? frontPixelSize.Height + itemDesiredSizes.
PixelSize
.Height
7492
childSize = new Size(Math.Max(headerDesiredSizes.PixelSize.Width, itemDesiredSizes.
PixelSize
.Width),
7493
headerDesiredSizes.PixelSize.Height + itemDesiredSizes.
PixelSize
.Height);
7647
childPixelSize = new Size(inset.Left + itemDesiredSizes.
PixelSize
.Width + inset.Right,
7648
inset.Top + itemDesiredSizes.
PixelSize
.Height + inset.Bottom);