Affectation, n.
Etymology: [L. affectatio: cf. F. affectation.]
1. An attempt to assume or exhibit what is not natural or real; false display; artificial show. "An affectation of contempt." Macaulay. Affectation is an awkward and forced imitation of what should be genuine and easy, wanting the beauty that accompanies what is natural what is natural. Locke.
2. A striving after. [Obs.] Bp. Pearson.
3. Fondness; affection. [Obs.] Hooker.
Shades of meaning
Fernald has no entry of its own for affectation; he lists it under hypocrisy, pretense.
Where he writes about it:
Affectation is in matters of intellect, taste, etc., much what hypocrisy is in morals and religion; affectation might be termed petty hypocrisy. — from hypocrisy