Democratic presidential candidate Hillary Rodham Clinton reaches to shake hands after speaking Saturday at the New Hampshire Democratic convention in Manchester. (Jim Cole/AP)

MANCHESTER, N.H. -- An energized Hillary Rodham Clinton didn't sound at all like a presidential candidate losing ground as she delivered a rousing speech here Saturday to the state Democratic convention, casting herself as a candidate prepared to fight for solutions to a wide array of problems confronting the middle class.

“If you want a president who will tell you  everything that’s wrong with America and who to blame for it, you’ve got plenty of other choices," Clinton told a crowd of more than 4,000 delegates and guests. "If you want a president who will listen to you, work her heart out to make your life better, and work to make a better, stronger, fairer country, then you're looking at her."

Clinton's appearance at the convention capped off a three-day swing through New Hampshire, where a string of recent polls have showed her trailing Bernie Sanders, the independent senator from Vermont who's call for economic justice has fueled his rapid rise in the nation's first presidential primary state.

[As worries rise, Hillary Clinton camp says stick to the plan]

Clinton's speech on Saturday echoed some of the same themes Sanders has been hitting on the campaign trail, including a pledge to reform the tax code so that "everyone pay their fare share."

“I’m sick of multi-millionaires paying a lower tax rate than a teacher or a nurse," Clinton told a crowd in which many wore T-shirts and held placards adverting their allegiances to Clinton or Sanders.

But Clinton pledged action on a far wider range of issues, for example touting her commitment to addressing a heroin overdose epidemic that has hit New Hampshire particularly hard -- an issue she said she never intended to make a centerpiece of her campaign.

“I want to be the president who takes on the big challenges," Clinton said, "but I also want to be the president who keeps listening.”

[How Bernie Sanders is plotting his path to the Democratic nomination]

Clinton, who didn't mention any of her Democratic rivals by name, directed several barbs at Donald Trump, the Republican front-runner, whom she accused of "trafficking in prejudice and paranoia throughout this campaign.”

Clinton mocked Trump's statements that he "cherishes women."

“Why don’t you stop cherishing women and start respecting women?” Clinton said to the delight of the crowd.

Following her address, Clinton could be seen dancing with supporters along the rope line that separated her from the crowd.

Sanders was scheduled to address the convention later Saturday. Other Democratic candidates scheduled to appear include Martin O'Malley, the former governor of Maryland; Lincoln Chafee, the former U.S. senator and governor from Rhode Island; and Lawrence Lessig, a Harvard law professor.

[Clinton takes a break from the trail in New Hampshire to stump in Maine]