Hide statusbar in StiWpfViewerControl

Stimulsoft Reports.WPF discussion
Post Reply
MarcoFish
Posts: 1
Joined: Wed Jan 10, 2024 12:08 pm

Hide statusbar in StiWpfViewerControl

Post by MarcoFish »

Hi,

I'd like to completly hide the statusbar in StiWpfViewerControl. I have set ShowStatusBar=False and StatusBarVisibility=Hidden but still you can see the reserved space for the statusbar.
Please refer to the attached screenshot. There you can see the orange bar at the bottom. This is where the statusbar would be visible. I'd like to remove this bar completly.

This is a snippet from my xaml
<wpfViewer:StiWpfViewerControl
Grid.Row="1"
ShowStatusBar="False"
StatusBarVisibility="Hidden"
ShowMainToolBar="False"
Report="{Binding Report, ElementName=UC}"
x:Name="ReportViewer" />

Working on NuGet package Stimulsoft.Reports.Wpf 2024.1.2
Attachments
2024-01-10 13_13_04-.png
2024-01-10 13_13_04-.png (2.74 KiB) Viewed 1146 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Hide statusbar in StiWpfViewerControl

Post by Lech Kulikowski »

Hello,

You should use the following code:
ReportViewer.DockPanelBottom.Visibility = Visibility.Collapsed;

Thank you.
Post Reply