Hi,
I have an ExplorerBar with Style set to OutlookNavigationPane. I want to have an invisible GroupHeader and a visible NavigationPaneHeader to mimic the 'Go menu' functionality of Outlook. Settings.HeaderVisible affects the visibility of both headers.
Is there a way to set their visibility selectively?
Regards,
Torsten
No, there is no way to hide the header while allowing the navigation overflow button for it to appear. If you like you can submit a feature request for this functionality.
Hi Brian,
thanks for your reply. I could live with both headers invisible, but when I set HeaderVisible programmatically to false, I notice a strange behaviour: Instead of only the headers becoming invisible, the whole item area is emptied.
My controls are only being redrawn if I move the mouse into the item area again, but I have found so far no way to restore the contents of the item area by any other means.
You can reproduce the behaviour by adding the following to the "Outlook Mail Folder" sample project that comes with NetAdvantage and click on the "Contacts" entry in the OutlookBar.
private void ultraExplorerBar1_GroupClick(object sender, Infragistics.Win.UltraWinExplorerBar.GroupEventArgs e) { ultraExplorerBar1.Groups[0].Settings.HeaderVisible = DefaultableBoolean.False; ultraExplorerBar1.Groups[0].Visible = true; ultraExplorerBar1.Groups[0].EnsureGroupInView(); ultraExplorerBar1.Groups[0].EnsureGroupHeaderInView(); ultraExplorerBar1.Groups[0].Selected = true; ultraExplorerBar1.Groups[0].Active = true; }
Is there a workaround?