How To Get UI Button To Stay In A Pressed State

OK this is one of those things about the new UI system that just drives me outright nuts as to why there does not seem to be a built in way to do this. But what if I want a state of the button to stay pressed until clicked again?
Is there some built in way to do this that I am missing or do you have to code this somehow?

There is a way to do that with Unity UI. What you’re describing is a Toggle, not a Button.

http://docs.unity3d.com/Manual/script-Toggle.html