1 reference to RestrictPercentage
PresentationFramework (1)
System\Windows\Controls\Primitives\Popup.cs (1)
2625
double maxHeight =
RestrictPercentage
* screenBounds.Width * screenBounds.Height / desiredSize.Width;