Zoom and pan to panel extents while maintaining aspect ratio.
public void Uniform(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.