Rational design and informed development of nontoxic antifouling coatings requires a thorough understanding of the interactions between surfaces and fouling species. With more complex antifouling materials, such as composites or zwitterionic polymers, there follows also a need for better characterization of the materials as such. To further the understanding of the antifouling properties of charge-balanced polymers, we explore the properties of layered polyelectrolytes and their interactions with charged surfaces. These polymers were prepared via self-initiated photografting and photopolymerization (SIPGP); on top of a uniform bottom layer of anionic poly(methacrylic acid) (PMAA), a cationic poly(2-dimethylaminoethyl methacrylate) (PDMAEMA) thickness gradient was formed. Infrared microscopy and imaging spectroscopic ellipsometry were used to characterize chemical composition and swelling of the combined layer. Direct force measurements by colloidal probe atomic force microscopy were performed to investigate the forces between the polymer gradients and charged probes. The swelling of PMAA and PDMAEMA are very different, with steric and electrostatic forces varying in a nontrivial manner along the gradient. The gradients can be tuned to form a protein-resistant charge-neutral region, and we demonstrate that this region, where both electrostatic and steric forces are small, is highly compressed and the origin of the protein resistance of this region is most likely an effect of strong hydration of charged residues at the surface, rather than swelling or bulk hydration of the polymer. In the highly swollen regions far from charge-neutrality, steric forces dominate the interactions between the probe and the polymer. In these regions, the SIPGP polymer has qualitative similarities with brushes, but we were unable to quantitatively describe the polymer as a brush, supporting previous data suggesting that these polymers are cross-linked.