How object snap works between detail and layout views

Every so often I think I am intuiting what the rules are for this, but then I get flummoxed. Maybe it’s explained somewhere?