Zooms to fit a specific rectangle in content coordinates.
public void ZoomToRectangle(Rect rect, Thickness? padding = default(Thickness? ), bool animate = true)
The rectangle to zoom to.
Optional padding around the rectangle.
Whether to animate the transition.