Posted 13 April 2023, 7:54 pm EST
On the C1.Web.Wijmo.Controls.C1ReportViewer (C1.Web.Wijmo.Controls.3) there is a full screen button.
Is there something similar on the winform C1ReportViewer?
Forums Home / ComponentOne / WinForms Edition
Posted by: peterf on 13 April 2023, 7:54 pm EST
Posted 13 April 2023, 7:54 pm EST
On the C1.Web.Wijmo.Controls.C1ReportViewer (C1.Web.Wijmo.Controls.3) there is a full screen button.
Is there something similar on the winform C1ReportViewer?
Posted 14 April 2023, 2:07 am EST
Hi,
Thanks for reaching out to us with your query.
Apologize, but the fullscreen feature is not available in Winforms FlexReport-Viewer.
But you can externally support FullScreen, by hiding internal controls except for PageView:(see code snippet)
private void FullScreen_CheckedChanged(object sender, EventArgs e)
{
if((sender as CheckBox).Checked)
{
c1FlexViewer1.Ribbon.Visible = false;
c1FlexViewer1.StatusBar.Visible = false;
}
else
{
c1FlexViewer1.Ribbon.Visible = true;
c1FlexViewer1.StatusBar.Visible = true;
}
}
Please refer the attached sample for the same: FlexViewerFullScreen.zip
Best Regards,
Nitin