I've danced with a man, who's danced with a girl, who's danced with the Prince of Wales was a song written in 1927 by Herbert Farjeon at the height of the popularity of Edward, Prince of Wales -unprecedented to that date for an heir to the throne- later Edward VIII of the United Kingdom.
The girl who inspired the song was Edna Deane, a ballroom dancing champion.
The song was used as the theme for the 1978 ITV television series Edward & Mrs. Simpson.