foppery (n.)

1540s, "a foolish action," from fop + -ery. Meaning "behavior and manner of a fop" in the "dandy" sense is from 1690s; meaning "foppish attire" is from 1711.