I am using the OutlookBar control and have no need for it to ever be minimized. I however, want to add a button to the selected group header that will open a configuration control. I thought that it would be easiest to just restyle the minimize button and use my own custom icon, and then use the 'NavigationPaneMinimizing' event to know when that button was clicked.
Is there a way to simply restyle the button of the SelectedGroupHeader?
You can look at the default xaml for the control in the DefaultStyles directory included in the install. In this case, the default template for the SelectedGroupHeader contains a ToggleButton whose Style property is set to a dynamic resource with a key of igOutlookBar:XamOutlookBar.MinimizeToggleButtonStyleKey so you could create a style for a togglebutton that has that key and put it in the xamOutlookBar's Resources.