3 references to ConvertZeroToUnbounded
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (3)
99
proposedSize = HostUtils.IntersectSizes(HostUtils.ConvertZeroOrOneToUnbounded(proposedSize), HostUtils.
ConvertZeroToUnbounded
(MaximumSize));
116
prefSize = HostUtils.IntersectSizes(prefSize, HostUtils.
ConvertZeroToUnbounded
(MaximumSize));
314
SD.Size priorMaxSize = HostUtils.
ConvertZeroToUnbounded
(MaximumSize);