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