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