Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Hide Report Group Tree in WPF

, 9 Oct 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Using the SAPBusinessObjects.WPF.Viewer.dll, the property ShowGroupTree is not available.To Hide the GroupTree as a default, set the property .ToggleSidePanel to SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None.e.g.With _viewer .IsEnabled = True ...
Using the SAPBusinessObjects.WPF.Viewer.dll, the property ShowGroupTree is not available.
To Hide the GroupTree as a default, set the property .ToggleSidePanel to SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None.
 
e.g.
 
With _viewer
       .IsEnabled = True
       .EnableToolTips = True
       .ShowOpenFileButton = False
       .ShowExportButton = True
       .ShowNextPageButton = True
       .ShowPrevPageButton = True
       .ShowPrintButton = True
       .ShowToggleSidePanelButton = True
       .ShowSearchTextButton = True
       .ToggleSidePanel = SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None
       .ShowRefreshButton = True
       .ShowGoToPageButton = True
       .ViewerCore.ReportSource = _report
      End With

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Colin3

New Zealand New Zealand
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 9 Oct 2011
Article Copyright 2011 by Colin3
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid