How can I restrict the Horizontal/Vertical Dimension Line to one or the other?

Is there a way to restrict a dimension line to only measure vertical or horizontal?

I am trying to put in the vertical dimension from the center of circle "A" to the center of circle "B", however, when I select the center of "A" and move to "B" the dimension flips to Horizontal.

Is there a way to restrict this tool to Horizontal or Vertical?

Thanks, Eric