The Princess of Wales joined her husband and members of the royal family in commemorating the late Queen of England.