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