How do I programatically collapse the ribbon? [SOLVED]

Aug 13, 2012 at 10:18 PM
Edited Aug 13, 2012 at 10:38 PM

And with that, I don't mean change the ribbon visibility, but collapse the ribbon in the same way that you do when you click the collapse arrow button on the right side of the ribbon.

I know that I can chekc if it IS collapsed by checking the IsCollapsed property, but that property is readonly, and I can't locate any methods that can be used for that...

 

[EDIT] Problem solved - I was looking at the wrong property. It is "IsMinimized" I need to use of course - Sorry for my confusion... [/EDIT]