The Princess of Wales made her first public appearance since coming forward with her cancer diagnosis.