Britain's Duchess of Cambridge, the former Kate Middleton, holds onto her husband, Prince William, as she bends down to pull the heel of her shoe out of a drainage grille as she presents the traditional sprigs of shamrocks to members of the 1st Battalion Irish Guards at the St Patrick's Day parade at Mons Barracks in Aldershot, England. (March 17, 2013) Photo Credit: AP

The former Kate Middleton, who is five months pregnant, made the revelation to a soldier at a St. Patrick's Day ceremony honoring the Irish Guards.

"I asked her, 'Do you know if it's a girl or boy?' and she said, 'Not yet,' " said Guardsman Lee Wheeler.

"She said, 'I'd like to have a boy and William would like a girl.' "

Wheeler said the duchess told him the couple had not settled on names for the baby, who will be third in line to the British throne.

The duchess wore a green dress coat and a shamrock lapel pin as she presented sprigs of shamrock to soldiers in the annual ceremony at a barracks in Aldershot, southern England. She also pinned a spring on the collar of the regiment's mascot, an Irish wolfhound named Domhnall.

Kate suffered a minor mishap when one of her high heels became briefly stuck in a drainage grille. The duchess leaned on her husband as she wrenched it loose.

The royal St. Patrick's Day tradition was started by Queen Alexandra, the wife of King Edward VII, in 1901.