Click here to Skip to main content
13,199,026 members (42,945 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

5.1K views
Posted 9 Oct 2011

Hide Report Group Tree in WPF

, 9 Oct 2011
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
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171020.1 | Last Updated 9 Oct 2011
Article Copyright 2011 by Colin3
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid