Gets the bounds of a visual in the coordinate space of another visual.
public static Rect? GetBoundsRelativeTo(this Visual visual, Visual relativeTo)
The visual to get bounds for.
The visual to get bounds relative to.