Disabling Shortcut Keys
Posted: Wed Oct 10, 2012 8:13 pm
Hi guys,
I need to disable all the shortcut keys for the report control (Ctrl+S, Ctrl+P, Ctrl+F, F2 etc.) in our application as these are reserved for different functions. I need to find a way to either disable or intercept them. I have tried the following in code:
C#:
XAML:
None of these seem to work. What am I missing?
Thanks
I need to disable all the shortcut keys for the report control (Ctrl+S, Ctrl+P, Ctrl+F, F2 etc.) in our application as these are reserved for different functions. I need to find a way to either disable or intercept them. I have tried the following in code:
C#:
Code: Select all
StiOptions.Viewer.DisableShortcutInViewer = true;
Code: Select all
<sti:StiWpfViewerControl Name="ReportPreview" Zoom="1.0"
IsReportSaveEnabled="False"
IsReportPrintEnabled="False"
IsToolFindEnabled="False"
IsFullScreenEnabled="False"
IsHandModeActivated="False"/>
Thanks