Setting Value for the text propery.