Hello,
I integrated the Report Designer into an existing WPF Browser Application. How can I overwrite the Exit action from the Main Menu?
An alernative would be to add a new button in the Ribbon Quick Launch menu (a go back action):
StiWpfMainMenuService mainMenuService = StiWpfMainMenuService.GetService();
mainMenuService.AddRootMenuItem("miBack", "Back", new RoutedEventHandler(toolButton_Click));
or
mainMenuService.AddMenuItem("miBack", "Back", "Back", new RoutedEventHandler(toolButton_Click));
but it does not work.
Thank you.
Overwriting main menu actions
Overwriting main menu actions
Hello.
Thank you.
Unfortunately, you couldn't overwrite Exit action and change Ribbon interface.Dan wrote:I integrated the Report Designer into an existing WPF Browser Application. How can I overwrite the Exit action from the Main Menu?
An alernative would be to add a new button in the Ribbon Quick Launch menu (a go back action):
StiWpfMainMenuService mainMenuService = StiWpfMainMenuService.GetService();
mainMenuService.AddRootMenuItem("miBack", "Back", new RoutedEventHandler(toolButton_Click));
or
mainMenuService.AddMenuItem("miBack", "Back", "Back", new RoutedEventHandler(toolButton_Click));
but it does not work.
Thank you.