Across the country, all-cash buyers purchased about 28% of homes in April, according to the National Association of Realtors.