2 references to IntersectSizes
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
100
proposedSize = HostUtils.
IntersectSizes
(HostUtils.ConvertZeroOrOneToUnbounded(proposedSize), HostUtils.ConvertZeroToUnbounded(MaximumSize));
117
prefSize = HostUtils.
IntersectSizes
(prefSize, HostUtils.ConvertZeroToUnbounded(MaximumSize));