Zoom and pan to panel extents while maintaining aspect ratio. If aspect of panel is different panel is filled.
public void UniformToFill(double panelWidth, double panelHeight, double elementWidth, double elementHeight, bool skipTransitions = false)
The panel width.
The panel height.
The element width.
The element height.
The flag indicating whether transitions on the child element should be temporarily disabled.