18 references to PixelSize
PresentationFramework (18)
src\Framework\MS\Internal\Helper.cs (1)
1120
Size itemPixelSize = itemDesiredSizes.
PixelSize
;
src\Framework\System\Windows\Controls\Primitives\HierarchicalVirtualizationItemDesiredSizes.cs (4)
148
(itemDesiredSizes1.
PixelSize
== itemDesiredSizes2.
PixelSize
) &&
167
(itemDesiredSizes1.
PixelSize
!= itemDesiredSizes2.
PixelSize
) ||
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (13)
3846
Size pixelSize = itemDesiredSizes.
PixelSize
;
3883
itemDesiredSizes.
PixelSize
,
4948
Size pixelSize = forHeader ? headerDesiredSizes.PixelSize : itemDesiredSizes.
PixelSize
;
6783
((isHorizontal && DoubleUtil.AreClose(itemDesiredSizes.
PixelSize
.Width, itemDesiredSizes.PixelSizeInViewport.Width)) ||
6784
(!isHorizontal && DoubleUtil.AreClose(itemDesiredSizes.
PixelSize
.Height, itemDesiredSizes.PixelSizeInViewport.Height))))
6956
if ((!isHorizontal && (itemDesiredSizes.
PixelSize
.Height > 0 ||
6958
( isHorizontal && (itemDesiredSizes.
PixelSize
.Width > 0 ||
7004
adjustedChildViewport.X -= IsPixelBased ? frontPixelSize.Width + itemDesiredSizes.
PixelSize
.Width
7010
adjustedChildViewport.Y -= IsPixelBased ? frontPixelSize.Height + itemDesiredSizes.
PixelSize
.Height
7357
childSize = new Size(Math.Max(headerDesiredSizes.PixelSize.Width, itemDesiredSizes.
PixelSize
.Width),
7358
headerDesiredSizes.PixelSize.Height + itemDesiredSizes.
PixelSize
.Height);
7512
childPixelSize = new Size(inset.Left + itemDesiredSizes.
PixelSize
.Width + inset.Right,
7513
inset.Top + itemDesiredSizes.
PixelSize
.Height + inset.Bottom);