23 references to LogicalSize
PresentationFramework (23)
MS\Internal\Helper.cs (1)
1156
itemDesiredSizes = new HierarchicalVirtualizationItemDesiredSizes(itemDesiredSizes.
LogicalSize
,
System\Windows\Controls\Primitives\HierarchicalVirtualizationItemDesiredSizes.cs (4)
141
return ((itemDesiredSizes1.
LogicalSize
== itemDesiredSizes2.
LogicalSize
) &&
160
return ((itemDesiredSizes1.
LogicalSize
!= itemDesiredSizes2.
LogicalSize
) ||
System\Windows\Controls\VirtualizingStackPanel.cs (18)
3934
itemDesiredSizes.
LogicalSize
,
3945
Size logicalSize = itemDesiredSizes.
LogicalSize
;
5066
Size logicalSize = forHeader ? headerDesiredSizes.LogicalSize : itemDesiredSizes.
LogicalSize
;
6913
childLogicalSize.Height = itemDesiredSizes.
LogicalSize
.Height + logicalHeaderSize.Height;
6914
childLogicalSize.Width = Math.Max(itemDesiredSizes.
LogicalSize
.Width, logicalHeaderSize.Width);
6918
childLogicalSize.Width = itemDesiredSizes.
LogicalSize
.Width + logicalHeaderSize.Width;
6919
childLogicalSize.Height = Math.Max(itemDesiredSizes.
LogicalSize
.Height, logicalHeaderSize.Height);
7097
itemDesiredSizes.
LogicalSize
.Height > 0)) ||
7099
itemDesiredSizes.
LogicalSize
.Width > 0)))
7107
StackSizes(isHorizontal, ref childLogicalSize, itemDesiredSizes.
LogicalSize
);
7145
: frontLogicalSize.Width + itemDesiredSizes.
LogicalSize
.Width;
7151
: frontLogicalSize.Height + itemDesiredSizes.
LogicalSize
.Height;
7502
childSize = new Size(Math.Max(headerDesiredSizes.LogicalSize.Width, itemDesiredSizes.
LogicalSize
.Width),
7503
headerDesiredSizes.LogicalSize.Height + itemDesiredSizes.
LogicalSize
.Height);
7669
childSize = isHorizontal ? new Size(1 + itemDesiredSizes.
LogicalSize
.Width,
7670
Math.Max(1, itemDesiredSizes.
LogicalSize
.Height))
7671
: new Size(Math.Max(1, itemDesiredSizes.
LogicalSize
.Width),
7672
1 + itemDesiredSizes.
LogicalSize
.Height);