Adding to this, the loan amount depends on your repayment capacity as well.
Most of time the maximum emi amount can be only upto 50-60% your monthly income(including your other active loans).
Hence even if the property is expensive, the loan amount will be a fraction of it.
But if you have some good relationship with the bank, there will be exceptions.