Michelle Obama revealed a secret about Barack Obama’s formal wear during his eight years in the White House: He wore the same tuxedo and shoes the entire time.

>> Read more trending news

During a talk at Tuesday Apple’s Worldwide Developers Conference in San Jose, California, the former first lady lamented on how every detail of her outfits was critiqued while her husband got away with wearing the same shoes and tuxedo for years, and no one seemed to notice.

>> Related: Obamas vacation in Italy; Michelle’s fashion draws praise

WASHINGTON, DC - OCTOBER 18:  U.S. President Barack Obama (R) and first lady Michelle Obama (2nd L) stand with Italian Prime Minister Matteo Renzi and his wife Mrs. Agnese Landini upon arrival for a state dinner at the White House, October 18, 2016 in Washington, DC. President Obama is hosting the last state visit of his presidency.  (Photo by Mark Wilson/Getty Images)

Credit: Mark Wilson

icon to expand image

Credit: Mark Wilson

“This is the unfair thing,” Michelle Obama said. “You talk about Fred Astaire and Ginger Rogers -- no matter what we do, he puts on that same tux. Now, people take pictures of the shoes I wear, the bracelets, the necklace -- they didn’t comment that for eight years he wore the same tux, same shoes.

>> Related: People love pictures of Barack Obama's backwards hat in the Virgin Islands

“And he was proud of it, too. He’s like, ‘Mmm, I’m ready. I’m ready in 10 minutes. How long did it take you?’ I’m like, ‘Get out of here.’”

The former first lady also shared the story behind a photo of her fixing her husband’s bow tie. She told the audience that they would always greet visiting state leaders at the North Portico, and while they were waiting, there were 100 members of the press also waiting and clicking away with their cameras.

WASHINGTON, DC - SEPTEMBER 25:  U.S. First Lady Michelle Obama straightens U.S. President Barack Obama's tie while they wait on the North Portico for the arrival of Chinese President Xi Jinping and his wife Madame Peng Liyuan ahead of a state dinner at the White House September 25, 2015 in Washington, DC. Obama and Xi announced an agreement on curbing climate change and an understanding on cyber security.  (Photo by Chip Somodevilla/Getty Images)

Credit: Chip Somodevilla

icon to expand image

Credit: Chip Somodevilla

“So, we’re standing there waiting for the cars to roll in, and I was bored,” she said. “So I sort of thought, let me make sure my husband looks good.”

It’s unclear how many sets Barack Obama had of his signature outfit, but he was photographed wearing at least one different tuxedo jacket during his term.

>> Related: Barack, Michelle Obama sign multimillion-dollar book deal with Penguin Random House

Fashion wasn’t the only thing that Michelle Obama discussed at the conference. She also talked about her passion for education, especially the education of young girls.

>> Related: Before Michelle, Barack Obama proposed to another woman, book claims

“I’m very passionate about girls’ education, and we still have a long way to go on equality and access,” she said, talking about the absence of women in STEM fields. “We have to teach young girls they are smart and can compete.”