Set multiple properties in the view