Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Changing the icon of the 'minimize' button in the SelectedGroupHeader
posted

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?

 

Parents
No Data
Reply
  • 54937
    Suggested Answer
    Offline posted

    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.

Children
No Data