
June 9, 2009 03:57 by
Jay
I wanted to put a large toggle button on my custom ribbon similar to the Print Layout button that appears in the Document Views group of the Word View tab.
When I added a ToggleButton to my custom tab in the VSTO ribbon designer, I get something like the following:
In the picture above, the two buttons surrounded by the dotted line are two ToggleButton controls side-by-side with an image set.
Looking at the ToggleButton properties, there is no ControlSize property which is the property I believe would style the button like the Print Layout button.
I’ve also tried setting via code to no affect.
I’m researching the issue and will hopefully post a solution soon.
SOLVED: If you put the ToggleButton controls in a ButtonGroup, the ControlSize property doesn’t apply.
1d3d61fb-4ed9-4cfd-8152-6af2920eb805|0|.0