In 2007 Q2 release I detect the toggled buttons using something like myButtonToolbar.Items.ToggleButtons and if I want to know how many toggled buttons I have I typed myButtonToolbar.Items.ToggleButtons.Count and I have this information.
It's possible doing something like this in 2008 Q3 release? I think it's ugly to do a foreach for each item of the toolbar to detect if it's a toggle button or not and count them.
It's possible doing something like this in 2008 Q3 release? I think it's ugly to do a foreach for each item of the toolbar to detect if it's a toggle button or not and count them.