A Long-Term Thai Visa for Buying a Condo?

Buying a condo in Thailand is the best way for foreign nationals to gain ownership of property for which in the future, condos of a certain value may also lead to the ability to obtain a Long-Term Visa.