Catherine, Princess of Wales, attended her first major royal occasion since ending chemotherapy for her cancer treatment.