Click here to Skip to main content
15,887,485 members
Articles / Desktop Programming / WPF
Alternative
Tip/Trick

Hide Report Group Tree in WPF

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
9 Oct 2011CPOL 7.8K  
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.

VB
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)


Written By
New Zealand New Zealand
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --