She was simply standing up to dance, because, as she had told Mr. Palliser, ladies of her age generally do stand up on such occasions. 
She was simply standing up to dance because it was the correct thing to do. 