The 2011 world silver medallist and partner Robert Blair beat Martin Campbell and Julie MacPherson 21-11 21-16 to extend her record in the event.
Hamilton's Kirsty Gilmour made it five singles titles in a row with a 21-13 21-9 win over Edinburgh's MacPherson.
And the Olympic hopeful won her fourth consecutive women's doubles title.
Gilmour partnered Erskine's Rebekka Findlay to defeat MacPherson and Beith's Eleanor O'Donnell 21-17 21-7, leaving MacPherson with a trio of runners-up medals.
Prior to the finals afternoon, Bankier, who has recently moved to Paris on a business venture, received a glass rock tablet from Badminton Scotland president Dan Travers.
She said: "I had nine National titles and I suppose the thought of trying to get 10 was tempting and another Nationals meant that I would be able to play one last time in front of my family and the people who have helped me so much in my career.
"I was really nervous before the final and I don't usually get affected like that. I had a sleepless night."
It was a good day for Blair as he finished with two Scottish titles, having partnered Mauchline's Adam Hall to his first men's doubles title and Blair's third with different partners.
The second seeds beat top seeds and defending champions Campbell and Patrick MacHugh in a high-quality final. The 21-19 21-18 win made up for Blair's defeat in last year's final when partnering Gordon Thomson.
There was also a first National title for Matthew Carder after two years as runner-up to Kieran Merrilees in the men's singles.
The South Queensferry player had to come from a game and 19-17 down against Glasgow's Thomson in the final against to win 18-21 21-19 21-17.

Arriva Trains Wales faced criticism over "unacceptable" queues at central station during the Rugby World Cup.
The firm wants to iron out issues before 74,000 people attend the Champions League final at the Principality Stadium in May 2017.
Trials for the truck stunt event include Queen Street station opening.
Usually it is closed after big events, with all people attending rugby and football matches and pop concerts using Cardiff Central only.
But assembly members called for urgent change after people were left waiting for hours in long queues, most notably during the 2015 Rugby World Cup.
To reduce waits, Queen Street will be open on Saturday for all people using Valley Lines services.
People travelling to Bridgend and further west will use the rear of central, while those going to Newport, Ebbw Vale, north Wales, London, Bristol, Crewe, Gloucester and Birmingham will use the front.
Bus replacement services will be used to take people to Pontyclun, Llanharan and Pencoed.
Ongoing work on the Central Square development directly in front of the main station had made the need for changes more pressing.
"As always we will be working to ensure passengers can get on trains as quickly and safely as possible," said Arriva's customer services director Lynne Milligan.

The Clogher rider took a narrow victory over compatriot Alastair Seeley after 10 laps, with Dublin's Jack Kennedy fourth and David Allingham in sixth.
Seeley is unable to score championship points onhis Spirit Moto2 machine.
Farmer now lies second in the standings on 145 points, five behind Tarran Mackenzie, who has taken up Danny Kent's ride in the Moto2 MotoGP series.
Allingham is third on 134 points, followed by Carrickfergus rider Andrew Irwin on 115 and Kennedy with 100.
The feature Supersport event will take place on Sunday.
Be Wiser Ducati pilot Glenn Irwin misses the meeting through injuries sustained in a practice crash at Knockhill but Northern Ireland riders Michael Laverty, Andy Reid and Josh Elliott will take part in Sunday's two Superbike outings.
Reid has been called up to replace Davide Giugliano in the Tyco BMW team for the remainder of the season, while Elliott stands in for the injured Christian Iddon for this round.
Elliott is also set to take in this weekend's Superstock 1000cc races, along with MD Racing representative Carl Phillips.

Gwent Police was called to the incident near Raglan Services at about 11:30 BST on Sunday.
The ambulance service said a patient had been taken to Bristol Royal Infirmary.
The road was closed in both directions between Monmouth and Raglan for about four hours but police said traffic was now moving freely.
Imogen Bankier ended her badminton career with a 10th consecutive mixed doubles title at the Yonex Scottish National Championships in Perth.
[NEXT_CONCEPT]
Plans to avert big event travel chaos in Cardiff will be trialled as 30,000 people head to the city for Saturday's Monster Jam event.
[NEXT_CONCEPT]
Keith Farmer followed up his double at Knockhill by winning the Supersport sprint race at Snetterton on Saturday.
[NEXT_CONCEPT]
A person has been taken to hospital by air ambulance following a serious crash on a major road in Monmouthshire.