Page 1 of 1

ShowWithWpfRibbonGUI()

Posted: Tue Aug 27, 2013 4:06 am
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.

Re: ShowWithWpfRibbonGUI()

Posted: Tue Aug 27, 2013 9:10 am
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.