Set correct modelproperty's properties in case of a container