By default, I want my xamOutlookbar's to show fewer buttons.
How can I accomplish this?
Is there a way that I could trigger the ShowFewerButtons command without having any type of user interaction (e.g. button click)?
Thanks Darrell, that solved it!
Well the command can be attached to any event if you retemplate the control. But if you are just looking to do it one time you could probably just do this in the loaded event of your page.
if (mybar.NavigationAreaGroups.Count > 0)
mybar.NavigationAreaMaxGroups = mybar.NavigationAreaGroups.Count - 1;