ShowWithWpfRibbonGUI()

Stimulsoft Reports.WPF discussion
Post Reply
LIM HT
Posts: 16
Joined: Fri Aug 23, 2013 10:51 am

ShowWithWpfRibbonGUI()

Post by LIM HT »

I used "ShowWithWpfRibbonGUI" to open viewer.

but i want to add a close event to viewer, so i changed like...
>> stiVewForm = new StiWpfViewerWindow(previewReport);
this form don't show ribbon..

is there a way to show ribbon with StiWpfViewerWindow()?

or how to add close event when we use Report.ShowWithWpf() ?

thank you always.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ShowWithWpfRibbonGUI()

Post by HighAley »

Hello.

If you need to handle any event of the Viewer you shouldn't use ShowWithWpfRibbonGUI() method.
Try to use StiWpfRibbonViewerWindow form. Or use the StiWpfViewerControl.

Thank you.
Post Reply